-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
bpo-45711: Remove type and traceback from exc_info #30122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
markshannon
merged 16 commits into
python:main
from
iritkatriel:45711-exc_info_just_value
Dec 17, 2021
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
10687bd
bpo-45711: Do not PUSH/POP traceback to the stack as part of exc_info
iritkatriel 37c7f12
bpo-45711: remove exc_traceback from _PyErr_StackItem
iritkatriel c5c23bd
removed exc_type from stack
iritkatriel 28ce9d2
remove exc_type from exc_info
iritkatriel 8ee6d84
update the except* opcodes
iritkatriel 3306286
Merge remote-tracking branch 'upstream/main' into 45711-exc_info_just…
iritkatriel 9b04160
val --> exc in comment
iritkatriel 4cd5af8
add to what's new, because this change breaks things like cython
iritkatriel a72556e
📜🤖 Added by blurb_it.
blurb-it[bot] 787393b
delete duplicate news file
iritkatriel 458ad26
PEP7 // formatting
iritkatriel b2db87b
Merge remote-tracking branch 'upstream/main' into 45711-exc_info_just…
iritkatriel 01f9036
use Py_Clear
iritkatriel ba82085
3 --> 1 in comments
iritkatriel 80b1e90
remove PY_EXC_INFO_STACK_SIZE
iritkatriel 550f6f9
Fix indent
iritkatriel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
removed exc_type from stack
- Loading branch information
commit c5c23bdb1ea02515925270956836982db17799e7
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary now?
I don't see why we would ever want to increase it, and I don't see how we could ever decrease it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name is probably weird now, but I think it helps readability to have a macro. If we remove this we should find another way to make the code (particularly in compile.c) clear about where exceptions are showing up. Figuring out where to use this macro was the hardest part of making this change (because when you get it wrong it just segfaults before you finish make regen-all).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought there is no point in a macro for this unless we all agree on some kind of convention because it probably won't be updated correctly when people make changes. So I'll remove it.