This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients benjamin.peterson, nedbat, serhiy.storchaka, vstinner, yselivanov
Date 2018-10-04.01:43:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538617391.92.0.545547206417.issue34888@psf.upfronthosting.co.za>
In-reply-to
Content
> 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
History
Date User Action Args
2018-10-04 01:43:11yselivanovsetrecipients: + yselivanov, vstinner, nedbat, benjamin.peterson, serhiy.storchaka
2018-10-04 01:43:11yselivanovsetmessageid: <1538617391.92.0.545547206417.issue34888@psf.upfronthosting.co.za>
2018-10-04 01:43:11yselivanovlinkissue34888 messages
2018-10-04 01:43:11yselivanovcreate