mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
asyncio: sync with Tulip
- CoroWrapper.__del__() now reuses repr(CoroWrapper) to log the "... was never yielded from" warning - Improve CoroWrapper: copy also the qualified name on Python 3.4, not only on Python 3.5+
This commit is contained in:
parent
c39ba7d611
commit
737c34fa85
3 changed files with 6 additions and 18 deletions
|
@ -21,7 +21,6 @@ from .coroutines import coroutine
|
|||
from .log import logger
|
||||
|
||||
_PY34 = (sys.version_info >= (3, 4))
|
||||
_PY35 = (sys.version_info >= (3, 5))
|
||||
|
||||
|
||||
class Task(futures.Future):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue