Message345533
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). |
|
| Date |
User |
Action |
Args |
| 2019-06-13 18:56:04 | mgedmin | set | recipients:
+ mgedmin |
| 2019-06-13 18:56:04 | mgedmin | set | messageid: <[email protected]> |
| 2019-06-13 18:56:04 | mgedmin | link | issue37269 messages |
| 2019-06-13 18:56:04 | mgedmin | create | |
|