I was able to add python as a scripting language using jython and a simple handler.
However I needed to modify this commit in order avoid losing indentation in Object handler.
Adding python requires jython as a dependency, not sure if you want to also add this library to the core as a dep, but my first fix gives the possibility of adding it manually if desired.