Antoine Pitrou added the comment: There's another problem: get_event_loop() returns a persistent object, not a new instance every time. So you can't write:
with get_event_loop() as loop: # ... twice in a row if the loop is closed at the end of the "with" block. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19860> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com