diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-03-19 18:33:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 18:33:51 (GMT) |
commit | d51a6dc28e1b2cd0353a78bd13f46e288fa39aa6 (patch) | |
tree | 909dfcbe14f0b7709ae3c6ad2afc842b0d1ad833 /Misc | |
parent | 4d1f033986675b883b9ff14588ae6ff78fdde313 (diff) | |
download | cpython-d51a6dc28e1b2cd0353a78bd13f46e288fa39aa6.zip cpython-d51a6dc28e1b2cd0353a78bd13f46e288fa39aa6.tar.gz cpython-d51a6dc28e1b2cd0353a78bd13f46e288fa39aa6.tar.bz2 |
gh-102828: add onexc arg to shutil.rmtree. Deprecate onerror. (#102829)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-03-19-15-30-59.gh-issue-102828.NKClXg.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-03-19-15-30-59.gh-issue-102828.NKClXg.rst b/Misc/NEWS.d/next/Library/2023-03-19-15-30-59.gh-issue-102828.NKClXg.rst new file mode 100644 index 0000000..be9b2ba --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-03-19-15-30-59.gh-issue-102828.NKClXg.rst @@ -0,0 +1,3 @@ +Add the ``onexc`` arg to :func:`shutil.rmtree`, which is like ``onerror`` +but expects an exception instance rather than an exc_info tuple. Deprecate +``onerror``. |