[Python-checkins] [3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) (GH-27958)

pablogsal webhook-mailer at python.org
Thu Aug 26 05:52:11 EDT 2021

commit: 6ea6cf22e9d084c27a4fffbbd298098a6ad5b776
branch: 3.10
author: Dong-hee Na <donghee.na at python.org>
committer: pablogsal <Pablogsal at gmail.com>
date: 2021-08-26T10:52:00+01:00

[3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) (GH-27958)

(cherry picked from commit c764dfbcbc12c4653fc8ab39773cf973c9db2757)

Co-authored-by: Dong-hee Na <donghee.na at python.org>

M Doc/whatsnew/3.10.rst

diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index d973448e07f80..129c0f77bf895 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -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

More information about the Python-checkins mailing list