summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gc.py
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2018-01-29 20:34:42 (GMT)
committerGregory P. Smith <greg@krypto.org>2018-01-29 20:34:42 (GMT)
commit0cd6bca65519109a8a7862d38ba1b8924e432a16 (patch)
tree6aa38cf15308c1ee22da01e57d1d625701436994 /Lib/test/test_gc.py
parentc65ef772c335324deb03626cc447b89987781f27 (diff)
downloadcpython-0cd6bca65519109a8a7862d38ba1b8924e432a16.zip
cpython-0cd6bca65519109a8a7862d38ba1b8924e432a16.tar.gz
cpython-0cd6bca65519109a8a7862d38ba1b8924e432a16.tar.bz2
bpo-20104: Fix leaks and errors in new os.posix_spawn (GH-5418)
* Fix memory leaks and error handling in posix spawn * Improve error handling when destroying the file_actions object * Py_DECREF the result of PySequence_Fast on error * Handle uninitialized pid * Use OSError if file actions fails to initialize * Move _file_actions to outer scope to avoid undefined behaviour * Remove HAVE_POSIX_SPAWN define in Modules/posixmodule.c * Unshadow exception and clean error message
Diffstat (limited to 'Lib/test/test_gc.py')
0 files changed, 0 insertions, 0 deletions