[New-bugs-announce] [issue30549] ProcessPoolExecutor hangs forever if the object raises on __getstate__

Roberto Martínez report at bugs.python.org
Fri Jun 2 05:15:57 EDT 2017


New submission from Roberto Martínez:

Hi, I detected that a ProcessPoolExecutor hangs if the object fails to picklelize.

I attached the simplest code to reproduce the behavior. Note that the interpreter should exit after the exception but it doesn't and hangs forever.

I tested with python 3.4, 3.5 and 3.6 with the same results.

----------
files: test_noshutdown.py
messages: 294999
nosy: Roberto Martínez
priority: normal
severity: normal
status: open
title: ProcessPoolExecutor hangs forever if the object raises on __getstate__
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file46919/test_noshutdown.py

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


More information about the New-bugs-announce mailing list