Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-101006: Improve error handling when read marshal data#101007
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-101006: Improve error handling when read marshal data#101007
Uh oh!
There was an error while loading.Please reload this page.
Conversation
* EOFError no longer overrides other errors such as MemoryError or OSError at the start of the object.* Raise more relevant error when the NULL object occurs as a code object component.* Minimize an overhead of calling PyErr_Occurred().
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.
After a quick review, this looks good to me. I'd like to take a closer look if you can wait for a day or two.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
bedevere-bot commentedJun 29, 2023
GH-106226 is a backport of this pull request to the3.12 branch. |
bedevere-bot commentedJun 29, 2023
GH-106227 is a backport of this pull request to the3.11 branch. |
…nGH-101007)* EOFError no longer overrides other errors such as MemoryError or OSError at the start of the object.* Raise more relevant error when the NULL object occurs as a code object component.* Minimize an overhead of calling PyErr_Occurred().(cherry picked from commit8bf6904)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…nGH-101007)* EOFError no longer overrides other errors such as MemoryError or OSError at the start of the object.* Raise more relevant error when the NULL object occurs as a code object component.* Minimize an overhead of calling PyErr_Occurred().(cherry picked from commit8bf6904)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…01007) (GH-106226)* EOFError no longer overrides other errors such as MemoryError or OSError at the start of the object.* Raise more relevant error when the NULL object occurs as a code object component.* Minimize an overhead of calling PyErr_Occurred().(cherry picked from commit8bf6904)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…01007) (GH-106227)* EOFError no longer overrides other errors such as MemoryError or OSError at the start of the object.* Raise more relevant error when the NULL object occurs as a code object component.* Minimize an overhead of calling PyErr_Occurred().(cherry picked from commit8bf6904)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.