-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
bpo-45711: assert that the type of exc_info is redundant #29518
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
bpo-45711: assert that the type of exc_info is redundant #29518
Conversation
🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit d7c8d15 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
The test_gdb failure is happening on other branches as well, so this is looking good. Let me know if you think there is value in committing this (I thinking if something breaks in the future, after we remove the type, it might help to have this commit in the history). |
I worry that the code won't be completely removed even by PGO/LTO. Or am I too fearful? |
Right, I can make it a macro working in debug mode only. |
Looks good 👍 |
I suggest we commit this so that the diff when we remove the type shows why we think it's safe to do so.
https://bugs.python.org/issue45711