commit | b0d43ce890adbcfea2e1dff7ba6e76c5c046b61c | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri May 20 13:05:48 2016 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri May 20 13:05:48 2016 +0200 |
tree | 89dbd5c5e651199e281ff2b817656d928eec209e | |
parent | 387e6e38175b853741c4f35e08791f0990bc0845 [diff] |
asyncio: fix ResourceWarning related to subprocesses Issue #26741: asyncio: BaseSubprocessTransport._process_exited() now copies the return code from the child watched to the returncode attribute of the Popen object. On Python 3.6, it is required to avoid a ResourceWarning.