[issue43916] Check that new heap types cannot be created uninitialised
Erlend Egeberg Aasland
report at bugs.python.org
Mon Apr 26 18:12:19 EDT 2021
Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:
Pablo, I've made a patch for most of these (I've left out Christian's modules). I've only added a couple of tests for now. Do you want all in one PR?
$ git diff main --stat
Lib/test/test_array.py | 4 ++++
Lib/test/test_unicodedata.py | 4 ++++
Modules/_dbmmodule.c | 1 +
Modules/_functoolsmodule.c | 2 ++
Modules/_gdbmmodule.c | 1 +
Modules/_sre.c | 5 +++++
Modules/_threadmodule.c | 2 ++
Modules/_winapi.c | 1 +
Modules/arraymodule.c | 1 +
Modules/cjkcodecs/multibytecodec.c | 1 +
Modules/posixmodule.c | 2 ++
Modules/pyexpat.c | 1 +
Modules/unicodedata.c | 1 +
Modules/zlibmodule.c | 2 ++
14 files changed, 28 insertions(+)
I don't know why I included the sqlite3 and select types in msg391924; they are not affected by this issue. Somebody should double check that everything's covered.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43916>
_______________________________________
More information about the Python-bugs-list
mailing list