summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/tasks.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-10 23:04:16 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-10 23:04:16 (GMT)
commit737c34fa85f35479acc37868958c66208349e3d7 (patch)
tree69da2d99fb4dcf1fd7bbd6c6b2b2aa137c3dfbfc /Lib/asyncio/tasks.py
parentc39ba7d611fe556314acc8c11cd9f805512db663 (diff)
downloadcpython-737c34fa85f35479acc37868958c66208349e3d7.zip
cpython-737c34fa85f35479acc37868958c66208349e3d7.tar.gz
cpython-737c34fa85f35479acc37868958c66208349e3d7.tar.bz2
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+
Diffstat (limited to 'Lib/asyncio/tasks.py')
-rw-r--r--Lib/asyncio/tasks.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
index 61f4822..3d7e5a4 100644
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -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):