diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-11 11:58:33 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-11 11:58:33 +0200 |
commit | 770e48d0174726e339074cfffa68fce23768aab5 (patch) | |
tree | 807e997af92d392c29b5e060588460d42d3aec00 /Lib/asyncio/tasks.py | |
parent | 3740d589f7e1737da480b2730161cb835b8dd55c (diff) | |
download | cpython-git-770e48d0174726e339074cfffa68fce23768aab5.tar.gz |
asyncio: sync with Tulip
* Tulip issue #182: Improve logs of BaseEventLoop._run_once()
- Don't log non-blocking poll
- Only log polling with a timeout if it gets events or if it timed out after
more than 1 second.
* Fix some pyflakes warnings: remove unused imports
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 3d7e5a4333..78b4c4dcfd 100644 --- a/Lib/asyncio/tasks.py +++ b/Lib/asyncio/tasks.py @@ -18,7 +18,6 @@ from . import coroutines from . import events from . import futures from .coroutines import coroutine -from .log import logger _PY34 = (sys.version_info >= (3, 4)) |