There are some obvious places where sys.exc_info() can be replaced by direct access to a captured exception (without needing any new features that could complicate backports.) Need to avoid changing tests that are testing exc_info, like generator tests or sys. <!-- gh-linked-prs --> ### Linked PRs * gh-102800 * gh-102830 * gh-102885 * gh-103293 * gh-103294 * gh-103311 * gh-104032 * gh-106746 <!-- /gh-linked-prs -->