bpo-45000: Raise SyntaxError when try to delete __debug__#27947
Merged
miss-islington merged 7 commits intopython:mainfrom Aug 25, 2021
Merged
bpo-45000: Raise SyntaxError when try to delete __debug__#27947miss-islington merged 7 commits intopython:mainfrom
miss-islington merged 7 commits intopython:mainfrom
Conversation
Member
Author
|
pablogsal
reviewed
Aug 25, 2021
Misc/NEWS.d/next/Core and Builtins/2021-08-25-23-17-32.bpo-45000.XjmyLl.rst
Outdated
Show resolved
Hide resolved
pablogsal
reviewed
Aug 25, 2021
pablogsal
approved these changes
Aug 25, 2021
pablogsal
reviewed
Aug 25, 2021
| support :class:`typing.SupportsComplex` and :class:`typing.SupportsBytes` protocols. | ||
| (Contributed by Mark Dickinson and Dong-hee Na in :issue:`24234`.) | ||
|
|
||
| * A :exc:`SyntaxError` (instead of a :exc:`NameError`) will be raised when deleting the :const:`__debug__` constant. (Contributed by Dong-hee Na in :issue:`45000`.) |
Member
There was a problem hiding this comment.
We should backport, so this needs to be moved to the 3.10 document
Member
Author
There was a problem hiding this comment.
I think you missed this message :)
@pablogsal Looks like due to auto-merge label :(
Contributor
|
@corona10: Status check is done, and it's a success ✅ . |
pablogsal
pushed a commit
that referenced
this pull request
Aug 26, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://bugs.python.org/issue45000
Automerge-Triggered-By: GH:pablogsal