[issue36052] Assignment operator allows to assign to __debug__

Serhiy Storchaka report at bugs.python.org
Wed Feb 20 10:41:40 EST 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

You need to add for the target of the assignment operator the same check as for other targets.

----------

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


More information about the Python-bugs-list mailing list