]> granicus.if.org Git - python/commit
* Fix a refleak when a preexec_fn was supplied (preexec_fn_args_tuple was not
authorGregory P. Smith <greg@mad-scientist.com>
Fri, 19 Mar 2010 16:53:08 +0000 (16:53 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Fri, 19 Mar 2010 16:53:08 +0000 (16:53 +0000)
commit32ec9da16617d7773d2a52a7fbba935aa9a1eba0
treef3cb7fb1b088c4f5f635f7b2af3764502366e806
parent3f88c0ece636ce533c6cbbfdd72e99518c6db974
* Fix a refleak when a preexec_fn was supplied (preexec_fn_args_tuple was not
  being defref'ed).
* Fixes another potential refleak of a reference to the gc
  module in the unlikely odd case where gc module isenabled or disable calls
  fail.
* Adds a unittest for the above case to verify behavior and lack of leaks.
Lib/test/test_subprocess.py
Modules/_posixsubprocess.c