Amaury Forgeot d'Arc <amaur...@gmail.com> 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 <rep...@bugs.python.org>
<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