Latest additions on the Python emitter

Change-Id: Id55efca1de7598149586b5827ef0c09829284e23