]> granicus.if.org Git - python/commit
asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop
authorYury Selivanov <yury@magic.io>
Fri, 3 Mar 2017 04:57:33 +0000 (23:57 -0500)
committerYury Selivanov <yury@magic.io>
Fri, 3 Mar 2017 05:00:57 +0000 (00:00 -0500)
commit80fbacc9369c07daeea6a50a61d214820bb29874
tree8304366bf5008f5005aa293e712673f4e419352d
parent8b73b6198bc0753c5ce6e8f91eb7bddc2bd42a73
asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop
Lib/asyncio/events.py