]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) (GH-27958)
authorDong-hee Na <donghee.na@python.org>
Thu, 26 Aug 2021 09:52:00 +0000 (09:52 +0000)
committerGitHub <noreply@github.com>
Thu, 26 Aug 2021 09:52:00 +0000 (10:52 +0100)
(cherry picked from commit c764dfbcbc12c4653fc8ab39773cf973c9db2757)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
Doc/whatsnew/3.10.rst

index d973448e07f80ad6dba427cdfa3e0bd7565cadad..129c0f77bf8950d0764cd592021ad2de17db180e 100644 (file)
@@ -883,6 +883,8 @@ Other Language Changes
   collisions when creating dictionaries and sets containing multiple NaNs.
   (Contributed by Raymond Hettinger in :issue:`43475`.)
 
+*  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`.)
+
 New Modules
 ===========