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. |
Sorry, something went wrong.
|
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). |
Sorry, something went wrong.
|
I worry that the code won't be completely removed even by PGO/LTO. Or am I too fearful? |
Sorry, something went wrong.
|
Right, I can make it a macro working in debug mode only. |
Sorry, something went wrong.
|
Looks good 👍 |
Sorry, something went wrong.
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