summaryrefslogtreecommitdiffstats
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-06-29 10:46:51 (GMT)
committerGitHub <noreply@github.com>2023-06-29 10:46:51 (GMT)
commitc9b9555650fee56a2fcb66c1db25e2b57f71a5d9 (patch)
tree4f34185f5a4c56174df488001ba5bc835d23acd9 /Python/makeopcodetargets.py
parente0fa531d7aa2f1e809dc77c222538620b2cf24b9 (diff)
downloadcpython-c9b9555650fee56a2fcb66c1db25e2b57f71a5d9.zip
cpython-c9b9555650fee56a2fcb66c1db25e2b57f71a5d9.tar.gz
cpython-c9b9555650fee56a2fcb66c1db25e2b57f71a5d9.tar.bz2
[3.12] gh-101006: Improve error handling when read marshal data (GH-101007) (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 commit 8bf6904b229583033035d91a3800da5604dcaad4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/makeopcodetargets.py')
0 files changed, 0 insertions, 0 deletions