Bas Nijholt added the comment:
I have noticed the following on Linux too:
```
Traceback (most recent call last):
File "/config/custom_components/kef_custom/aiokef.py", line 327, in
_disconnect
await self._writer.wait_closed()
File "/usr/local/lib/python3.7/asyncio/st
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/&q
Bas Nijholt added the comment:
I think this issue is related to the problem in
https://bugs.python.org/issue36281
If it indeed is the case, then the fix proposed here and implemented in
https://github.com/python/cpython/commit/22d25085db2590932b3664ca32ab82c08f2eb2db
won't really help
Change by Bas Nijholt :
--
type: -> crash
___
Python tracker
<https://bugs.python.org/issue36281>
___
___
Python-bugs-list mailing list
Unsubscrib
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