Message99879
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 |
|
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 | |
|