GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — bpo-36829: Add a -X option to abort in PyErr_WriteUnraisable() by ZackerySpytz · Pull Request #13175 · python/cpython Conversation
|
|
Do you think you could add a test? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I am not sure I like this feature. Would it make sense to add a callback instead, like sys.excepthook? The callback could log the error, do nothing, abort the process, call the police, etc. It might be more general, no? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@vstinner PyErr_WriteUnraisable can get called during Or the hook could be called after the hook is removed by GC and then we're back to the same problem |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I merged my PR #13187 instead, so I reject this PR. See https://bugs.python.org/issue36829#msg343201 for the rationale. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.