diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-10-05 15:25:19 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-10-05 15:25:19 (GMT) |
commit | 8f437aac068e13fe8418bb0374baf4395e7b4994 (patch) | |
tree | 498dcc48cfcc4e1472dadb9c1552188db929c3c1 /Lib/test/test_source_encoding.py | |
parent | 340c749a3a091f14c7701b66a05e864c8f95740a (diff) | |
download | cpython-8f437aac068e13fe8418bb0374baf4395e7b4994.zip cpython-8f437aac068e13fe8418bb0374baf4395e7b4994.tar.gz cpython-8f437aac068e13fe8418bb0374baf4395e7b4994.tar.bz2 |
Issue #22290: Fix error handling in the _posixsubprocess module.
* Don't call the garbage collector with an exception set: it causes an
assertion to fail in debug mode.
* Enhance also error handling if allocating an array for the executable list
failed.
* Add an unit test for 4 different errors in the _posixsubprocess module.
Diffstat (limited to 'Lib/test/test_source_encoding.py')
0 files changed, 0 insertions, 0 deletions