[New-bugs-announce] [issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

Gökçen Eraslan report at bugs.python.org
Mon May 23 13:42:46 CEST 2011


New submission from Gökçen Eraslan <gokcen at pardus.org.tr>:

When I use map method Pool object with an empty list parameter and then call close and wait methods, join() method hangs. I think this is not intended.

Code to reproduce the bug is attached. 

PS: A similar issue (using map method with an empty list argument) is reported here[1], but it was about the chunksize parameter and it's resolved.

[1] http://bugs.python.org/issue6433

----------
components: Library (Lib)
files: multi.py
messages: 136613
nosy: Gökçen.Eraslan, jnoller
priority: normal
severity: normal
status: open
title: join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file22077/multi.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12157>
_______________________________________


More information about the New-bugs-announce mailing list