diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-10 23:04:16 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-10 23:04:16 (GMT) |
commit | 737c34fa85f35479acc37868958c66208349e3d7 (patch) | |
tree | 69da2d99fb4dcf1fd7bbd6c6b2b2aa137c3dfbfc /Lib/asyncio/tasks.py | |
parent | c39ba7d611fe556314acc8c11cd9f805512db663 (diff) | |
download | cpython-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.py | 1 |
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): |