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
This commit is contained in:
Victor Stinner 2014-07-11 11:58:33 +02:00
parent 3740d589f7
commit 770e48d017
6 changed files with 20 additions and 16 deletions

View file

@ -14,7 +14,6 @@ from . import coroutines
from . import events
from . import futures
from . import protocols
from . import tasks
from .coroutines import coroutine