[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-34728: Remove deprecate *loop* argument in asyncio.sleep by joaojunior · Pull Request #9415 · python/cpython

joaojunior

joaojunior changed the title bpo34728: Remove deprecate *loop* argument in asyncio.sleep bpo-34728: Remove deprecate *loop* argument in asyncio.sleep

Sep 19, 2018

Joao Junior added 2 commits

September 20, 2018 10:58
…p argument is used

1st1 approved these changes Sep 20, 2018

Joao Junior added 2 commits

September 24, 2018 08:44

njsmith added a commit to njsmith/trio that referenced this pull request

Sep 26, 2018
In this PR:

  python/cpython#9415

asyncio.sleep switched to requiring a running asyncio event loop. This
is all very sensible, but broke our test that checks what happens when
some accidentally yields an asyncio.Future to the Trio run loop.
Switch the test to waiting on a Future directly.

Merged