]> granicus.if.org Git - python/commit
bpo-31350: Optimize get_event_loop and _get_running_loop (GH-3347) (GH-3373)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 Sep 2017 03:05:35 +0000 (20:05 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Wed, 6 Sep 2017 03:05:35 +0000 (20:05 -0700)
commitff125e1aa9ee4eb928de79320a0e7c1b0c0f58f4
tree8a4ee9a141c44d73581b4d3548fcacda75722f08
parent11453524ed26ee449275c32bedfd86ef19dd91ee
bpo-31350: Optimize get_event_loop and _get_running_loop (GH-3347) (GH-3373)

* call remove_done_callback in finally section

* Optimize get_event_loop and _get_running_loop

* rename _loop_pid as loop_pid and add blurb news

* rename _loop_pid as loop_pid and add blurb news

* add back _RunningLoop

* Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst

* Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst
(cherry picked from commit 80bbe6a7b67f33d0d0976bb8e3e5ba26b6b0e626)
Lib/asyncio/events.py
Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst [new file with mode: 0644]