gh-103176: sys._current_exceptions() returns mapping to exception instances instead of exc_info tuples by iritkatriel · Pull Request #103177 · python/cpython (original) (raw)

FYI, I discussed this with the SC, and considering it's a private API that's relatively new and has very few uses, changing the behaviour is fine. (I also have to say I'm very amused that the documentation didn't even clarify that the value was the 3-tuple, before 😂)