Python assignment compilation