Amaury Forgeot d'Arc <[email protected]> added the comment:

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)

----------
nosy: +amaury.forgeotdarc, pitrou

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15320>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to