STINNER Victor added the comment: Oh no. My comment was not published, it was probably an issue with my unstable Internet connection.
Here is a patch fixing the issue with an unit test. There is another call to Future.set_result() in subprocess.py not protected by an if in connection_made(). I don't know if it should be patched too or not. ---------- keywords: +patch Added file: http://bugs.python.org/file37606/asyncio_subprocess_cancel_wait.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23140> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com