From: Victor Stinner Date: Wed, 12 Jul 2023 10:28:10 +0000 (+0200) Subject: gh-105373: Elaborate Pending Removal in What's New in Python 3.13 (#106675) X-Git-Tag: v3.13.0a1~1420 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42bc485a24f0f67751474bd1697e1beb4a783b9a;p=thirdparty%2FPython%2Fcpython.git gh-105373: Elaborate Pending Removal in What's New in Python 3.13 (#106675) Co-authored-by: Hugo van Kemenade --- diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index dc020682ac1e..b7c436fc1516 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -270,7 +270,9 @@ Pending Removal in Python 3.14 * :mod:`typing`: :class:`~typing.ByteString`, deprecated since Python 3.9, now causes a :exc:`DeprecationWarning` to be emitted when it is used. -* :class:`!urllib.parse.Quoter`. +* :class:`!urllib.parse.Quoter` is deprecated: it was not intended to be a + public API. + (Contributed by Gregory P. Smith in :gh:`88168`.) * :mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`~xml.etree.ElementTree.Element` is deprecated and will raise an @@ -397,7 +399,12 @@ although there is currently no date scheduled for their removal. * :class:`!pydoc.ErrorDuringImport`: A tuple value for *exc_info* parameter is deprecated, use an exception instance. -* :mod:`re`: bad character in group name. +* :mod:`re`: More strict rules are now applied for numerical group references + and group names in regular expressions. Only sequence of ASCII digits is now + accepted as a numerical reference. The group name in bytes patterns and + replacement strings can now only contain ASCII letters and digits and + underscore. + (Contributed by Serhiy Storchaka in :gh:`91760`.) * :mod:`ssl` options and protocols: