]> granicus.if.org Git - python/commit
asyncio: Cleanup logging in BaseEventLoop._run_once()
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 22 Jan 2014 11:26:01 +0000 (12:26 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 22 Jan 2014 11:26:01 +0000 (12:26 +0100)
commit4a2dbeb0d3067aefab00ba3f43ee1939608323be
tree1388f0734fbe9fd75544ec68e277876e9b9f1238
parent462582651c92dad3d0e50810075d53d4a04e2466
asyncio: Cleanup logging in BaseEventLoop._run_once()

logger.log() is now responsible to format the timeout. It might be faster if
the log is disabled for DEBUG level, but it's also more readable and fix
an issue with Python 2.6 in the Trollius project.
Lib/asyncio/base_events.py