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 pitrou
Recipients gvanrossum, larry, pitrou, vstinner
Date 2013-12-02.15:59:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385999987.78.0.1050669401.issue19860@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-12-02 15:59:47pitrousetrecipients: + pitrou, gvanrossum, vstinner, larry
2013-12-02 15:59:47pitrousetmessageid: <1385999987.78.0.1050669401.issue19860@psf.upfronthosting.co.za>
2013-12-02 15:59:47pitroulinkissue19860 messages
2013-12-02 15:59:47pitroucreate