diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2018-03-31 17:06:09 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-04-01 09:46:32 +1200 |
commit | 976b2018a3fc320272ac4f588250977fc08cf9b5 (patch) | |
tree | 84543da70376ede6efcaf2e661bf953c7d492ec7 /release | |
parent | a2d45193546962e2e14d1959e1bf008c83b9f3cf (diff) | |
download | mitmproxy-976b2018a3fc320272ac4f588250977fc08cf9b5.tar.gz mitmproxy-976b2018a3fc320272ac4f588250977fc08cf9b5.tar.bz2 mitmproxy-976b2018a3fc320272ac4f588250977fc08cf9b5.zip |
asyncio: clean up event loop acquisition
We now acquire the event loop through asyncio.get_event_loop, avoiding having
to pass the loop explicity in a bunch of places. This function does not return
the currently running loop from within coroutines in versions of Python prior
to 3.6.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions