Message345533
| 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:04 | mgedmin | set | recipients: + mgedmin |
| 2019-06-13 18:56:04 | mgedmin | set | messageid: <1560452164.81.0.0834317425739.issue37269@roundup.psfhosted.org> |
| 2019-06-13 18:56:04 | mgedmin | link | issue37269 messages |
| 2019-06-13 18:56:04 | mgedmin | create | |