bpo-36052: Raise a SyntaxError when we assign a value to __debug__#11958
bpo-36052: Raise a SyntaxError when we assign a value to __debug__#11958pablogsal merged 6 commits intopython:masterfrom
Conversation
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
pablogsal
left a comment
There was a problem hiding this comment.
LGTM!
Thanks for fixing this one @matrixise :)
Misc/NEWS.d/next/Core and Builtins/2019-02-20-17-57-31.bpo-36052.l8lJSi.rst
Outdated
Show resolved
Hide resolved
|
sorry, I have to leave and will continue the fix (if there is a fix to do ;-)). See you later (+- 3hours) |
| @@ -0,0 +1,2 @@ | |||
| Raise a SyntaxError when we try to assign a value to `__debug__` with the | |||
There was a problem hiding this comment.
I thin we don't use 'we' in the docs. Maybe:
Raise a ``SyntaxError`` when assigning a value to `__debug__` using the assignment operator.
|
@pablogsal or @serhiy-storchaka who want to merge this PR? ;-) |
Co-authored-by: Stéphane Wirtel stephane@wirtel.be
Co-authored-by: Pablo Galindo Pablogsal@gmail.com
https://bugs.python.org/issue36052