Message99879
| 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:02 | pitrou | set | recipients:
+ pitrou, r.david.murray |
| 2010年02月22日 23:50:02 | pitrou | set | messageid: <1266882602.92.0.94768857178.issue7996@psf.upfronthosting.co.za> |
| 2010年02月22日 23:50:00 | pitrou | link | issue7996 messages |
| 2010年02月22日 23:50:00 | pitrou | create |
|