[New-bugs-announce] [issue39098] OSError: handle is closed in ProcessPoolExecutor on shutdown(wait=False)

Patrick Buxton report at bugs.python.org
Thu Dec 19 08:19:43 EST 2019


New submission from Patrick Buxton <patrick.buxton at tartansolutions.com>:

When shutting down a ProcessPoolExecutor with wait=False, an `OSError: handle is closed` is raised.

The error can be replicated with a script as simple as:

```
from concurrent.futures import ProcessPoolExecutor

e = ProcessPoolExecutor()
e.submit(id)
e.shutdown(wait=False)

----------
components: Library (Lib)
messages: 358679
nosy: patbuxton
priority: normal
severity: normal
status: open
title: OSError: handle is closed in ProcessPoolExecutor  on shutdown(wait=False)
type: crash
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39098>
_______________________________________


More information about the New-bugs-announce mailing list