shutil.rmtree accepts as ``onerror`` a callback to should expect an exc_info tuple. To move off this, I will add a new kwarg "onexc" which should expect just an exception object. ``onerror`` will continue to work for now, but be deprecated. <!-- gh-linked-prs --> ### Linked PRs * gh-102829 * gh-102835 * gh-102850 * gh-103422 <!-- /gh-linked-prs -->