From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 30 May 2024 20:26:46 +0000 (+0300) Subject: Docs: `shutil.rmtree`'s `onerror` has no pending removal version (#118947) X-Git-Tag: v3.14.0a1~1693 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=deda85717b2557c6bad8b9a51719c60ac510818f;p=thirdparty%2FPython%2Fcpython.git Docs: `shutil.rmtree`'s `onerror` has no pending removal version (#118947) --- diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index bcded65eba31..241c07e781af 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -1676,9 +1676,6 @@ Pending Removal in Python 3.14 * ``master_open()``: use :func:`pty.openpty`. * ``slave_open()``: use :func:`pty.openpty`. -* :func:`shutil.rmtree` *onerror* parameter is deprecated in 3.12, - and will be removed in 3.14: use the *onexc* parameter instead. - * :mod:`sqlite3`: * :data:`!version` and :data:`!version_info`. @@ -1854,6 +1851,9 @@ although there is currently no date scheduled for their removal. * :mod:`!sre_compile`, :mod:`!sre_constants` and :mod:`!sre_parse` modules. +* :mod:`shutil`: :func:`~shutil.rmtree`'s *onerror* parameter is deprecated in + Python 3.12; use the *onexc* parameter instead. + * :mod:`ssl` options and protocols: * :class:`ssl.SSLContext` without protocol argument is deprecated.