Message232157
| Author |
vstinner |
| Recipients |
gvanrossum, python-dev, terry.reedy, torsten, vstinner, yselivanov |
| Date |
2014年12月04日.22:12:35 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1417731155.99.0.383166353916.issue22922@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I didn't change subprocess_exec() nor subprocess_shell() because they are coroutine. A coroutine object can only raise an exception when they are executed, whereas a closed loop cannot execute a coroutine object. I modified create_task() to fail if the event loop is closed, it should be enough.
Thanks Torsten Landschoff for your fix. |
|