diff options
author | Dong-hee Na <donghee.na@python.org> | 2021-08-26 09:52:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 09:52:21 (GMT) |
commit | 32c1caa87f68a650f2d009a589a1db30484499cb (patch) | |
tree | ca601bc57044aee865699b6a6c2879df46d1cac6 /Misc | |
parent | 6ea6cf22e9d084c27a4fffbbd298098a6ad5b776 (diff) | |
download | cpython-32c1caa87f68a650f2d009a589a1db30484499cb.zip cpython-32c1caa87f68a650f2d009a589a1db30484499cb.tar.gz cpython-32c1caa87f68a650f2d009a589a1db30484499cb.tar.bz2 |
bpo-45000: Raise SyntaxError when try to delete __debug__ (GH-27947) (GH-27957)
(cherry picked from commit 551da597a0996b0fb3af425f48aa5bc63ea6b963)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-08-25-23-17-32.bpo-45000.XjmyLl.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-08-25-23-17-32.bpo-45000.XjmyLl.rst b/Misc/NEWS.d/next/Core and Builtins/2021-08-25-23-17-32.bpo-45000.XjmyLl.rst new file mode 100644 index 0000000..96c95cc --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2021-08-25-23-17-32.bpo-45000.XjmyLl.rst @@ -0,0 +1,2 @@ +A :exc:`SyntaxError` is now raised when trying to delete :const:`__debug__`. +Patch by Dong-hee Na. |