summaryrefslogtreecommitdiffstats
path: root/Python/instruction_sequence.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2025-02-25 21:04:27 (GMT)
committerGitHub <noreply@github.com>2025-02-25 21:04:27 (GMT)
commit0ef4ffeefd1737c18dc9326133c7894d58108c2e (patch)
treedc3614077d06e68df192e57505951b80012a2e31 /Python/instruction_sequence.c
parent2dad1e08ec9d5ddc798a313900613b3d1eeaff6b (diff)
downloadcpython-0ef4ffeefd1737c18dc9326133c7894d58108c2e.zip
cpython-0ef4ffeefd1737c18dc9326133c7894d58108c2e.tar.gz
cpython-0ef4ffeefd1737c18dc9326133c7894d58108c2e.tar.bz2
gh-130163: Fix crashes related to PySys_GetObject() (GH-130503)
The use of PySys_GetObject() and _PySys_GetAttr(), which return a borrowed reference, has been replaced by using one of the following functions, which return a strong reference and distinguish a missing attribute from an error: _PySys_GetOptionalAttr(), _PySys_GetOptionalAttrString(), _PySys_GetRequiredAttr(), and _PySys_GetRequiredAttrString().
Diffstat (limited to 'Python/instruction_sequence.c')
0 files changed, 0 insertions, 0 deletions