This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients martin.panter, vstinner
Date 2016-05-20.11:12:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463742740.9.0.453336615306.issue27068@psf.upfronthosting.co.za>
In-reply-to
Content
Hum, I had to patch asyncio to avoid a ResourceWarning because asyncio polls the status of the child process using a child watcher, whereas the Popen object is not aware of the child watcher:

New changeset 72946937536e by Victor Stinner in branch '3.5':
asyncio: fix ResourceWarning related to subprocesses
https://hg.python.org/cpython/rev/72946937536e

The asyncio child watcher uses os.waitpid() on a specific pid or wait for the exit of any child process depending on the chosen implemetation. The fast watcher implementations uses a signal handler on the signal SIGCHLD.
History
Date User Action Args
2016-05-20 11:12:21vstinnersetrecipients: + vstinner, martin.panter
2016-05-20 11:12:20vstinnersetmessageid: <1463742740.9.0.453336615306.issue27068@psf.upfronthosting.co.za>
2016-05-20 11:12:20vstinnerlinkissue27068 messages
2016-05-20 11:12:20vstinnercreate