R. David Murray added the comment: I presume we don't re-enable gc in the child because if there's an exception it is exiting anyway.
FYI subprocess32, which fixes some other race conditions, shouldn't have this problem, since it is a backport of subprocess from python3, which no longer manipulates the GC. Unlike the other race that subprocess32 fixes, this one could be fixed in python2, though, if you want to propose a patch. ---------- nosy: +gps, r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27448> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com