gh-103176: sys._current_exceptions() returns mapping to exception instances instead of exc_info tuples#103177
Merged
iritkatriel merged 1 commit intopython:mainfrom Apr 11, 2023
Merged
Conversation
…on instances instead of exc_info tuples
Member
|
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 😂) |
Yhg1s
approved these changes
Apr 10, 2023
warsaw
pushed a commit
to warsaw/cpython
that referenced
this pull request
Apr 11, 2023
…on instances instead of exc_info tuples (python#103177)
aisk
pushed a commit
to aisk/cpython
that referenced
this pull request
Apr 18, 2023
…on instances instead of exc_info tuples (python#103177)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #103176.
I think this is internal and esoteric enough to not require a deprecation cycle.