Message327031
> I assume there is some place that notices that the while condition is a constant, and therefore doesn't need to be explicitly evaluated?
To answer your question: yes, and it's unrelated to both peephole optimizer and to the above mentioned grand refactoring of the ceval loop :) But if we add "-X noopt" (or equivalent) we can disable those micro-optimizations too.
Let's track this in https://github.com/python/cpython/pull/9693 |
|
Date |
User |
Action |
Args |
2018-10-04 01:43:11 | yselivanov | set | recipients:
+ yselivanov, vstinner, nedbat, benjamin.peterson, serhiy.storchaka |
2018-10-04 01:43:11 | yselivanov | set | messageid: <1538617391.92.0.545547206417.issue34888@psf.upfronthosting.co.za> |
2018-10-04 01:43:11 | yselivanov | link | issue34888 messages |
2018-10-04 01:43:11 | yselivanov | create | |
|