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 — gh-144316: Fix missing exception in _remote_debugging with debug=False by taegyunkim · Pull Request #144442 · python/cpython Conversation
|
|
This macro is intended to add context to an exception not to be the actual cause of the error. Doing this will mask actual bugs in the code where we are not setting exceptions properly in places that should catch it and fail. Unfortunately this is not only is a partial fix but it will hide errors. The correct solution is finding the error paths that are not properly handling errors and fix there (and perhaps chain). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@pablogsal Found |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think we should instead add assert(PyErr_Occurred()) in _set_debug_exception_cause instead.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Please, stop updating the branch when there is nothing to do. It wastes CI resources and notifies everyone subscribed to the thread. See https://devguide.python.org/getting-started/pull-request-lifecycle/#update-branch-button. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@pablogsal - do you have any more objections? Otherwise, I'm going to merge this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No, let's land this! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Great work @taegyunkim ! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @taegyunkim for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, @taegyunkim and @pablogsal, I could not cleanly backport this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…th debug=False (pythonGH-144442) (cherry picked from commit c2d3d6b) Co-authored-by: Taegyun Kim <[email protected]>
|
GH-145280 is a backport of this pull request to the 3.14 branch. |
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.