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 gvanrossum, vstinner, yselivanov
Date 2014-09-17.11:51:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410954714.23.0.464914894828.issue22429@psf.upfronthosting.co.za>
In-reply-to
Content
Attached script stops immediatly whereas I would expect that the second call to run_forever() keeps running. If you execute the script, you will see:

deque([<Handle _raise_stop_error() at /home/haypo/prog/python/default/Lib/asyncio/base_events.py:94>])

The first call to run_forever() keeps a pending call to loop.stop() (to _rase_stop_error() in fact).

I don't know if it should be called a bug or if this surprising behaviour should be documented.

See also the issue #22428.
History
Date User Action Args
2014-09-17 11:51:54vstinnersetrecipients: + vstinner, gvanrossum, yselivanov
2014-09-17 11:51:54vstinnersetmessageid: <1410954714.23.0.464914894828.issue22429@psf.upfronthosting.co.za>
2014-09-17 11:51:54vstinnerlinkissue22429 messages
2014-09-17 11:51:54vstinnercreate