[issue36281] OSError: handle is closed for ProcessPoolExecutor and run_in_executor

2021-11-05 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue36281] OSError: handle is closed for ProcessPoolExecutor and run_in_executor

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: I don't get the error on 3.11, and I think it may have been fixed under Issue39104. -- nosy: +iritkatriel resolution: -> duplicate status: open -> pending superseder: -> ProcessPoolExecutor hangs on shutdown nowait with pickling failure

[issue36281] OSError: handle is closed for ProcessPoolExecutor and run_in_executor

2020-10-28 Thread Joel Lopes Da Silva
Change by Joel Lopes Da Silva : -- nosy: +JoeKun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue36281] OSError: handle is closed for ProcessPoolExecutor and run_in_executor

2020-04-10 Thread Bas Nijholt
Bas Nijholt added the comment: Using `git bisect` I've discovered the commit (b713adf27a) (https://github.com/python/cpython/commit/b713adf27a) that broke the code. I've used one script: ```test.py import sys sys.path.append("/Users/basnijholt/Downloads/cpython/Lib/concurrent/futures/") from

[issue36281] OSError: handle is closed for ProcessPoolExecutor and run_in_executor

2019-03-18 Thread Bas Nijholt
Change by Bas Nijholt : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue36281] OSError: handle is closed for ProcessPoolExecutor and run_in_executor

2019-03-13 Thread Bas Nijholt
New submission from Bas Nijholt : The following code in Python 3.7.1 ``` import random import concurrent.futures import asyncio executor = concurrent.futures.ProcessPoolExecutor() ioloop = asyncio.get_event_loop() async def func(): result = await ioloop.run_in_executor(executor, random.ran