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 tim.peters
Recipients pitrou, tim.peters
Date 2013-09-08.21:46:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378676786.46.0.476510624211.issue18984@psf.upfronthosting.co.za>
In-reply-to
Content
As discussed in issue 18808, now that we're checking for a tstate lock, the Thread._stopped Event has become an "attractive nuisance".  The attached patch removes it.

This simplifies .join() and .is_alive(), and restores pre-18808 .join(timeout) endcase behavior (i.e., if join returns before the timeout expires, .is_alive() will always be False).

Since this doesn't add any new locks, I hope it won't create more problems with fork tests - but running on Windows I wouldn't know ;-)
History
Date User Action Args
2013-09-08 21:46:26tim.peterssetrecipients: + tim.peters, pitrou
2013-09-08 21:46:26tim.peterssetmessageid: <1378676786.46.0.476510624211.issue18984@psf.upfronthosting.co.za>
2013-09-08 21:46:26tim.peterslinkissue18984 messages
2013-09-08 21:46:26tim.peterscreate