[New-bugs-announce] [issue42412] Fix bases issues in PyType_FromModuleAndSpec()

Serhiy Storchaka report at bugs.python.org
Thu Nov 19 12:31:34 EST 2020


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

1. There are leaks if Py_tp_bases is used more than once and if some some calls before setting tp_bases are failed.

2. There is a crash if the bases argument or Py_tp_bases is not a tuple.

3. The documentation is not accurate.

----------
components: C API
messages: 381444
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Fix bases issues in PyType_FromModuleAndSpec()
type: resource usage
versions: Python 3.10, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42412>
_______________________________________


More information about the New-bugs-announce mailing list