Browse Source
bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015)
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.pull/11019/head
committed by
Serhiy Storchaka
17 changed files with 113 additions and 27 deletions
-
2Misc/NEWS.d/next/Core and Builtins/2018-12-07-02-38-01.bpo-35436.0VW7p9.rst
-
4Modules/_abc.c
-
12Modules/_ctypes/_ctypes.c
-
1Modules/_ctypes/callbacks.c
-
6Modules/_io/winconsoleio.c
-
9Modules/_multiprocessing/semaphore.c
-
13Modules/_ssl.c
-
7Modules/mathmodule.c
-
6Modules/posixmodule.c
-
2Objects/capsule.c
-
12PC/getpathp.c
-
3PC/launcher.c
-
43Parser/myreadline.c
-
5Parser/tokenizer.c
-
7Python/ast.c
-
5Python/marshal.c
-
3Python/pystrtod.c
@ -0,0 +1,2 @@ |
|||
Fix various issues with memory allocation error handling. Patch by Zackery |
|||
Spytz. |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue