Indeed, a patch I created in 2010 for the peepholer to optimize 'a,b=b,a' was rejected with one particular reason being "changing order of execution starts to venture into territory that we've stayed away from (on purpose)." https://bugs.python.org/issue10648
Not that I disagree with the patch being rejected, only that this is an example of the compiler's philosophy
Not that I disagree with the patch being rejected, only that this is an example of the compiler's philosophy