aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-06-29 12:22:19 +0300
committerGitHub <noreply@github.com>2023-06-29 12:22:19 +0300
commit8bf6904b229583033035d91a3800da5604dcaad4 (patch)
tree0a6f8249b306d5d0d65886c31d32e753f714ab0a /Python/codecs.c
parent3fb7c608e5764559a718ce8cb81350d7a3df0356 (diff)
downloadcpython-8bf6904b229583033035d91a3800da5604dcaad4.tar.gz
cpython-8bf6904b229583033035d91a3800da5604dcaad4.zip
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/codecs.c')
0 files changed, 0 insertions, 0 deletions