[issue12456] Hangs in concurrent.futures
Antoine Pitrou
report at bugs.python.org
Sun Jul 3 12:46:18 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
Ok, qsize() can raise NotImplementedError on OS X, which explains quite a bit:
Exception in thread Thread-2:
Traceback (most recent call last):
File "/Users/buildbot/buildarea/custom.parc-snowleopard-1/build/Lib/threading.py", line 737, in _bootstrap_inner
self.run()
File "/Users/buildbot/buildarea/custom.parc-snowleopard-1/build/Lib/threading.py", line 690, in run
self._target(*self._args, **self._kwargs)
File "/Users/buildbot/buildarea/custom.parc-snowleopard-1/build/Lib/concurrent/futures/process.py", line 271, in _queue_management_worker
if not pending_work_items and call_queue.qsize() == 0:
File "/Users/buildbot/buildarea/custom.parc-snowleopard-1/build/Lib/multiprocessing/queues.py", line 139, in qsize
return self._maxsize - self._sem._semlock._get_value()
NotImplementedError
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12456>
_______________________________________
More information about the Python-bugs-list
mailing list