summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-06-01 22:28:31 (GMT)
committerGitHub <noreply@github.com>2023-06-01 22:28:31 (GMT)
commit146939306adcff706ebddb047f7470d148125cdf (patch)
tree7ba1a0832da33fff49813d51dee801e54efd9fce /Python
parent3698fda06eefb3c01e78c4c07f46fcdd0559e0f6 (diff)
downloadcpython-146939306adcff706ebddb047f7470d148125cdf.zip
cpython-146939306adcff706ebddb047f7470d148125cdf.tar.gz
cpython-146939306adcff706ebddb047f7470d148125cdf.tar.bz2
gh-104614: Make Sure ob_type is Always Set Correctly by PyType_Ready() (gh-105122)
When I added the relevant condition to type_ready_set_bases() in gh-103912, I had missed that the function also sets tp_base and ob_type (if necessary). That led to problems for third-party static types. We fix that here, by making those extra operations distinct and by adjusting the condition to be more specific.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions