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 ronaldoussoren
Recipients ned.deily, ronaldoussoren, w31rd0, zzzeek
Date 2010-08-10.05:49:48
SpamBayes Score 2.1855399e-06
Marked as misclassified No
Message-id <1281419391.36.0.980592180174.issue9405@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that this is an annoying bug, and I'm glad that it doesn't occur in the 27-maint branch.

I won't close this issue yet though, I'd prefer to add a unittest that demonstrates the problem in 2.7.0 and shows that the problem is fixed afterwords.

Basically something like this:


   pid = os.fork() 
   if pid == 0:
       # child
       import platform
       import urllib
       urllib.get_proxies()
       os._exit(0)

    else:
       # parent
       exit = sys.waitpid(pid, 0)
       self.assertEquals(exit, 0)
History
Date User Action Args
2010-08-10 05:49:51ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, zzzeek, w31rd0
2010-08-10 05:49:51ronaldoussorensetmessageid: <1281419391.36.0.980592180174.issue9405@psf.upfronthosting.co.za>
2010-08-10 05:49:49ronaldoussorenlinkissue9405 messages
2010-08-10 05:49:48ronaldoussorencreate