]> granicus.if.org Git - python/commit
asyncio: sync with Tulip
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 11 Jul 2014 09:58:33 +0000 (11:58 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 11 Jul 2014 09:58:33 +0000 (11:58 +0200)
commit770e48d0174726e339074cfffa68fce23768aab5
tree807e997af92d392c29b5e060588460d42d3aec00
parent3740d589f7e1737da480b2730161cb835b8dd55c
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
Lib/asyncio/base_events.py
Lib/asyncio/streams.py
Lib/asyncio/tasks.py
Lib/test/test_asyncio/test_base_events.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_tasks.py