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 Mathias Fröjdman, gvanrossum, vstinner, yselivanov
Date 2015-08-05.23:17:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwZfB8eDU0UTKODEon-HtqdQkh6-x8BUA=uR5=mzg1D2yg@mail.gmail.com>
In-reply-to <CAP7+vJLpXvaOeah3b+MKRMawc60CfHBj81hCf8k8KdwKG5Dsqg@mail.gmail.com>
Content
+1 for me. Asyncio examples already have this try/finally pattern. I
already proposed to support context manager some months ago.

Guido, I don't understand your point. Usually the main function id
loop.run_until_complete/.run_forever. That's all. It doesn't mean that the
loop only runs a few milliseconds.
History
Date User Action Args
2015-08-05 23:17:50vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, Mathias Fröjdman
2015-08-05 23:17:50vstinnerlinkissue24795 messages
2015-08-05 23:17:50vstinnercreate