New submission from Gökçen Eraslan <gok...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12157>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to