Author mgedmin
Recipients mgedmin
Date 2019-06-13.18:56:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560452164.81.0.0834317425739.issue37269@roundup.psfhosted.org>
In-reply-to
Content
Python 3.8 miscompiles the following code:

    $ cat /tmp/wat.py
    enable_debug = False

    if not enable_debug or not __debug__:
        print("you shall not pass!")

    $ python3.7 /tmp/wat.py
    you shall not pass!

    $ python3.8 /tmp/wat.py

(no output is produced.)

This is a distilled example from zope.traversing's codebase (https://github.com/zopefoundation/zope.traversing/issues/13).
History
Date User Action Args
2019-06-13 18:56:04mgedminsetrecipients: + mgedmin
2019-06-13 18:56:04mgedminsetmessageid: <1560452164.81.0.0834317425739.issue37269@roundup.psfhosted.org>
2019-06-13 18:56:04mgedminlinkissue37269 messages
2019-06-13 18:56:04mgedmincreate