New submission from Yury Selivanov <yseliva...@gmail.com>:

asyncio.sleep is a coroutine; passing a *loop* argument to it makes no sense 
anymore.

We should raise a DeprecationWarning in Python 3.8 and 3.9 and remove it in 4.0.

----------
components: asyncio
keywords: easy
messages: 325684
nosy: asvetlov, yselivanov
priority: normal
severity: normal
stage: needs patch
status: open
title: deprecate *loop* argument for asyncio.sleep
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34728>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to