From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 16 Jul 2024 16:01:03 +0000 (+0200) Subject: [3.13] GH-105879: Note exec/eval keyword change in What's New (GH-121831) (#121852) X-Git-Tag: v3.13.0b4~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c11d789a4c8146367c920ce2253f33aeddf81fcf;p=thirdparty%2FPython%2Fcpython.git [3.13] GH-105879: Note exec/eval keyword change in What's New (GH-121831) (#121852) GH-105879: Note exec/eval keyword change in What's New (GH-121831) (cherry picked from commit d7a099d7ae749798bd822aee5d1d46d0a335189b) Co-authored-by: Alyssa Coghlan Co-authored-by: Ɓukasz Langa --- diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index 992d39e3152a..e91a9348a1a4 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -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`.)