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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, chris.jerdonek, pitrou
Date 2012-07-11.08:09:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341994194.3.0.158168470127.issue15320@psf.upfronthosting.co.za>
In-reply-to
Content
There is indeed a race condition here.  Fortunately unit tests take much more time than the generator loop.

Is it enough to turn the generator into a fixed list? Or is the "late binding" behavior of args_tuple important? (For example, if the main thread changes the timeout variable, subsequent tests would see the modified value)
History
Date User Action Args
2012-07-11 08:09:54amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, pitrou, chris.jerdonek
2012-07-11 08:09:54amaury.forgeotdarcsetmessageid: <1341994194.3.0.158168470127.issue15320@psf.upfronthosting.co.za>
2012-07-11 08:09:53amaury.forgeotdarclinkissue15320 messages
2012-07-11 08:09:53amaury.forgeotdarccreate