summaryrefslogtreecommitdiffstats
path: root/Doc/reference/expressions.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-11-21 10:39:23 (GMT)
committerGitHub <noreply@github.com>2020-11-21 10:39:23 (GMT)
commit648a32b12ec676036ae4115747d458fb6f379d74 (patch)
treeed07de3934155e631c8997470eb8554ec3b1198b /Doc/reference/expressions.rst
parent97136d71a78a4b6b816f7e14acc52be426efcb6f (diff)
downloadcpython-648a32b12ec676036ae4115747d458fb6f379d74.zip
cpython-648a32b12ec676036ae4115747d458fb6f379d74.tar.gz
cpython-648a32b12ec676036ae4115747d458fb6f379d74.tar.bz2
bpo-42412: Fix possible leaks and check arguments in PyType_FromModuleAndSpec() (GH-23410)
* There were leaks if Py_tp_bases is used more than once or if some call is failed before setting tp_bases. * There was a crash if the bases argument or the Py_tp_bases slot is not a tuple. * The documentation was not accurate. (cherry picked from commit 1db76394ea79030aa4ed5349c950f6c6da51450f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/reference/expressions.rst')
0 files changed, 0 insertions, 0 deletions