]> granicus.if.org Git - python/commit
Issue #23347, asyncio: send_signal(), terminate(), kill() don't check if the
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 30 Jan 2015 00:20:44 +0000 (01:20 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 30 Jan 2015 00:20:44 +0000 (01:20 +0100)
commitf2e43cbbd4b9325da638a6b45b52e766ca91b131
tree3455f9db0834188f6f2450f4d2ddb3490e73734e
parent1077dee4575ccc43c10515de50d7c100d6ce9455
Issue #23347, asyncio: send_signal(), terminate(), kill() don't check if the
transport was closed. The check broken a Tulip example and this limitation is
arbitrary. Check if _proc is None should be enough.

Enhance also close(): do nothing when called the second time.
Lib/asyncio/base_subprocess.py
Lib/test/test_asyncio/test_subprocess.py