Message226994
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. |
|
| Date |
User |
Action |
Args |
| 2014-09-17 11:51:54 | vstinner | set | recipients:
+ vstinner, gvanrossum, yselivanov |
| 2014-09-17 11:51:54 | vstinner | set | messageid: <[email protected]> |
| 2014-09-17 11:51:54 | vstinner | link | issue22429 messages |
| 2014-09-17 11:51:54 | vstinner | create | |
|