]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] GH-105879: Note exec/eval keyword change in What's New (GH-121831) (#121852)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Jul 2024 16:01:03 +0000 (18:01 +0200)
committerGitHub <noreply@github.com>
Tue, 16 Jul 2024 16:01:03 +0000 (02:01 +1000)
GH-105879: Note exec/eval keyword change in What's New (GH-121831)
(cherry picked from commit d7a099d7ae749798bd822aee5d1d46d0a335189b)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Doc/whatsnew/3.13.rst

index 992d39e3152a648afe558647928bba1eeefaf720..e91a9348a1a4eeeb15473d4ce3e2830cece636be 100644 (file)
@@ -422,6 +422,10 @@ free-threaded build.
 Other Language Changes
 ======================
 
+* The :func:`exec` and :func:`eval` built-ins now accept their ``globals``
+  and ``locals`` namespace arguments as keywords.
+  (Contibuted by Raphael Gaschignard in :gh:`105879`)
+
 * Allow the *count* argument of :meth:`str.replace` to be a keyword.
   (Contributed by Hugo van Kemenade in :gh:`106487`.)