SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

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.
S
Serhiy Storchaka committed
1db76394ea79030aa4ed5349c950f6c6da51450f
Parent: 01a202a
Committed by GitHub <noreply@github.com> on 11/21/2020, 10:02:53 AM