diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2023-06-29 09:22:19 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-29 09:22:19 (GMT) |
| commit | 8bf6904b229583033035d91a3800da5604dcaad4 (patch) | |
| tree | 0a6f8249b306d5d0d65886c31d32e753f714ab0a /Python/pylifecycle.c | |
| parent | 3fb7c608e5764559a718ce8cb81350d7a3df0356 (diff) | |
| download | cpython-8bf6904b229583033035d91a3800da5604dcaad4.zip cpython-8bf6904b229583033035d91a3800da5604dcaad4.tar.gz cpython-8bf6904b229583033035d91a3800da5604dcaad4.tar.bz2 | |
gh-101006: Improve error handling when read marshal data (GH-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().
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions
