GeezerVison is showing github.com — [3.13] Docs: `shutil.rmtree`'s `onerror` has no pending removal versi… · python/cpython@1e75dc7
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: Doc/whatsnew/3.13.rst +3-3Lines changed: 3 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1664,9 +1664,6 @@ Pending Removal in Python 3.14 |
1664 | 1664 | * ``master_open()``: use :func:`pty.openpty`. |
1665 | 1665 | * ``slave_open()``: use :func:`pty.openpty`. |
1666 | 1666 |
|
1667 | | -* :func:`shutil.rmtree` *onerror* parameter is deprecated in 3.12, |
1668 | | - and will be removed in 3.14: use the *onexc* parameter instead. |
1669 | | - |
1670 | 1667 | * :mod:`sqlite3`: |
1671 | 1668 |
|
1672 | 1669 | * :data:`~sqlite3.version` and :data:`~sqlite3.version_info`. |
@@ -1842,6 +1839,9 @@ although there is currently no date scheduled for their removal. |
1842 | 1839 |
|
1843 | 1840 | * :mod:`!sre_compile`, :mod:`!sre_constants` and :mod:`!sre_parse` modules. |
1844 | 1841 |
|
| 1842 | +* :mod:`shutil`: :func:`~shutil.rmtree`'s *onerror* parameter is deprecated in |
| 1843 | + Python 3.12; use the *onexc* parameter instead. |
| 1844 | + |
1845 | 1845 | * :mod:`ssl` options and protocols: |
1846 | 1846 |
|
1847 | 1847 | * :class:`ssl.SSLContext` without protocol argument is deprecated. |
|