New submission from Ronal Abraham :
There doesn't appear to be a way to prematurely kill a subprocess using the
high-level asyncio subprocess APIs
(https://docs.python.org/3.9/library/asyncio-subprocess.html) without getting a
traceback on exit.
On exit, the attached program write
Ronal Abraham added the comment:
Reproducing the program here:
import asyncio
async def test():
process = await asyncio.create_subprocess_shell(
"sleep 2 && echo done",
stdout=asyncio.subprocess.PIPE,
)
awa
Ronal Abraham added the comment:
I see this on MacOS and Linux, but I suspect any Unix-like system would have
the same behavior.
--
___
Python tracker
<https://bugs.python.org/issue43
New submission from Ronal Abraham :
These lines throw intermittently for me on AIX when removing a directory on NFS
(python version 3.6.6-1), even when "ignore_errors=True":
https://github.com/python/cpython/blob/v3.6.6rc1/Lib/shutil.py#L433
https://github.com/python/cpython/blob
Ronal Abraham added the comment:
I forgot to mention: the exception raised is an OSError and the errno is 52
(ESTALE on AIX).
--
___
Python tracker
<https://bugs.python.org/issue35