homepage

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 pitrou
Recipients pitrou, r.david.murray
Date 2010年02月22日.23:50:00
SpamBayes Score 9.326636e-05
Marked as misclassified No
Message-id <1266882602.92.0.94768857178.issue7996@psf.upfronthosting.co.za>
In-reply-to
Content
While testing GIL changes I ran against an interesting bug in regrtest when run with -j<big number>. It turns out that we can't consume a generator from two threads simultaneously.
Exception in thread Thread-8:
Traceback (most recent call last):
 File "/home/antoine/py3k/gilprio/Lib/threading.py", line 521, in _bootstrap_inner
 self.run()
 File "/home/antoine/py3k/gilprio/Lib/threading.py", line 474, in run
 self._target(*self._args, **self._kwargs)
 File "/home/antoine/py3k/gilprio/Lib/test/regrtest.py", line 523, in work
 test, args_tuple = next(pending)
ValueError: generator already executing
History
Date User Action Args
2010年02月22日 23:50:02pitrousetrecipients: + pitrou, r.david.murray
2010年02月22日 23:50:02pitrousetmessageid: <1266882602.92.0.94768857178.issue7996@psf.upfronthosting.co.za>
2010年02月22日 23:50:00pitroulinkissue7996 messages
2010年02月22日 23:50:00pitroucreate

AltStyle によって変換されたページ (->オリジナル) /