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 gdb
Recipients asksol, gdb, jnoller
Date 2010-07-12.17:45:12
SpamBayes Score 0.0037999717
Marked as misclassified No
Message-id <1278956713.95.0.137025844982.issue9207@psf.upfronthosting.co.za>
In-reply-to
Content
With pool.py:272 commented out, running about 50k iterations, I saw 4 tracebacks giving an exception on pool.py:152.  So this seems to imply the race does exist (i.e. that the thread is in _maintain_pool rather than time.sleep when shutdown begins).  It looks like the _maintain_pool run takes O(10^-4)s, so it's not surprising the error is so rare.

That being said, the patch I submitted in issue 9205 should handle this case as well.
History
Date User Action Args
2010-07-12 17:45:14gdbsetrecipients: + gdb, jnoller, asksol
2010-07-12 17:45:13gdbsetmessageid: <1278956713.95.0.137025844982.issue9207@psf.upfronthosting.co.za>
2010-07-12 17:45:12gdblinkissue9207 messages
2010-07-12 17:45:12gdbcreate