FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

/ cpython Public

gh-103176: sys._current_exceptions() returns mapping to exception instances instead of exc_info tuples - #103177

Merged
iritkatriel merged 1 commit into
python:mainfrom
iritkatriel:_current_exceptions
Apr 11, 2023
Merged

gh-103176: sys._current_exceptions() returns mapping to exception instances instead of exc_info tuples#103177
iritkatriel merged 1 commit into
python:mainfrom
iritkatriel:_current_exceptions

Conversation

iritkatriel commented Apr 1, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Fixes #103176.

I think this is internal and esoteric enough to not require a deprecation cycle.

Yhg1s commented Apr 10, 2023

Copy link
Copy Markdown
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 😂)

iritkatriel merged commit 78b763f into python:main Apr 11, 2023
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Apr 18, 2023
iritkatriel deleted the _current_exceptions branch July 25, 2023 18:05
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sys._current_exceptions() should return exceptions rather than exc_info tuples

3 participants


Back | FazBrowse Home | New Git URL