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 yselivanov
Recipients aeros, asvetlov, serhiy.storchaka, xtreak, yselivanov
Date 2020-02-26.00:04:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> For asyncio.Lock (plus other synchronization primitives) and asyncio.Queue, this would be added in Currently waiting on emanu (author of the PR) to finish up some changes, but it's mostly complete. Could I work on adding it to asyncio.Future and other classes in the meantime?

I think the approach should be different:

  # leading underscore is significant:
  loop = asyncio._get_running_loop()  
  if loop is None:
    loop = asyncio.get_event_loop()
Date User Action Args
2020-02-26 00:04:02yselivanovsetrecipients: + yselivanov, asvetlov, serhiy.storchaka, xtreak, aeros
2020-02-26 00:04:02yselivanovsetmessageid: <>
2020-02-26 00:04:02yselivanovlinkissue39529 messages
2020-02-26 00:04:02yselivanovcreate