From 6ea6cf22e9d084c27a4fffbbd298098a6ad5b776 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Thu, 26 Aug 2021 09:52:00 +0000 Subject: [3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) (GH-27958) (cherry picked from commit c764dfbcbc12c4653fc8ab39773cf973c9db2757) Co-authored-by: Dong-hee Na --- Doc/whatsnew/3.10.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index d973448..129c0f7 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 =========== -- cgit v0.12