]> 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 04:58:07 +0000 (23:58 -0500)
commit902e9c50e31209e796b6bbe26f8d2f57ec12071b
tree87748c596b63944987b1089c9e3a7bb031e22d65
parent84af903f3bc6780cb4e73ff05ad2e242d3966417
asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop
Lib/asyncio/events.py