[issue36052] Assignment operator allows to assign to __debug__

Pablo Galindo Salgado report at bugs.python.org
Thu Feb 21 05:11:57 EST 2019


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:


New changeset 3ad91673057d410bf9f8c53df6bb8aa18c4b68ca by Pablo Galindo (Stéphane Wirtel) in branch 'master':
bpo-36052: Raise a SyntaxError when assigning a value to __debug__ with := (GH-11958)
https://github.com/python/cpython/commit/3ad91673057d410bf9f8c53df6bb8aa18c4b68ca


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36052>
_______________________________________


More information about the Python-bugs-list mailing list