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.
Created on 2010年02月22日 23:50 by pitrou, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (1) | |||
|---|---|---|---|
| msg99879 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2010年02月22日 23:50 | |
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 |
| 2022年04月11日 14:56:58 | admin | set | github: 52244 |
| 2012年07月26日 15:26:36 | rosslagerwall | set | status: open -> closed superseder: thread-safety issue in regrtest.main() resolution: duplicate |
| 2010年08月05日 03:30:08 | BreamoreBoy | set | versions: + Python 3.1 |
| 2010年02月22日 23:50:01 | pitrou | create | |