]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015)
authorZackery Spytz <zspytz@gmail.com>
Fri, 7 Dec 2018 10:11:30 +0000 (03:11 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 7 Dec 2018 10:11:30 +0000 (12:11 +0200)
commit4c49da0cb7434c676d70b9ccf38aca82ac0d64a9
treeaae3660f9a5bc462830107cf2311b2557898e268
parent3a521f0b6167628f975c773b56c7daf8d33d6f40
bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015)

Set MemoryError when appropriate, add missing failure checks,
and fix some potential leaks.
17 files changed:
Misc/NEWS.d/next/Core and Builtins/2018-12-07-02-38-01.bpo-35436.0VW7p9.rst [new file with mode: 0644]
Modules/_abc.c
Modules/_ctypes/_ctypes.c
Modules/_ctypes/callbacks.c
Modules/_io/winconsoleio.c
Modules/_multiprocessing/semaphore.c
Modules/_ssl.c
Modules/mathmodule.c
Modules/posixmodule.c
Objects/capsule.c
PC/getpathp.c
PC/launcher.c
Parser/myreadline.c
Parser/tokenizer.c
Python/ast.c
Python/marshal.c
Python/pystrtod.c