This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zach.ware
Recipients BreamoreBoy, brett.cannon, chris.jerdonek, ezio.melotti, serhiy.storchaka, zach.ware
Date 2014-07-02.14:23:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Since then, Senthil Kumaran converted test_urllib2_localnet (and another urllib test or two) to unittest.main, using this:

threads_key = None

def setUpModule():
    # Store the threading_setup in a key and ensure that it is cleaned up
    # in the tearDown
    global threads_key
    threads_key = support.threading_setup()

def tearDownModule():
    if threads_key:

if __name__ == "__main__":

Since nobody has said anything against that in the two months since it was done, that's what I was going to go with when I got back to this; support.reap_children() can just be called in tearDownModule.  If you'd like to provide a patch, Mark, please do so!
Date User Action Args
2014-07-02 14:23:26zach.waresetrecipients: + zach.ware, brett.cannon, ezio.melotti, chris.jerdonek, BreamoreBoy, serhiy.storchaka
2014-07-02 14:23:26zach.waresetmessageid: <>
2014-07-02 14:23:26zach.warelinkissue16968 messages
2014-07-02 14:23:25zach.warecreate