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:
Victor Stinner 2014-07-11 01:04:16 +02:00
parent c39ba7d611
commit 737c34fa85
3 changed files with 6 additions and 18 deletions

View file

@ -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):