]> git.ipfire.org Git - thirdparty/tornado.git/commit
Allow passing asyncio_loop argument to AsyncIOLoop
authorMin RK <benjaminrk@gmail.com>
Wed, 15 Jun 2022 08:41:30 +0000 (10:41 +0200)
committerMin RK <benjaminrk@gmail.com>
Wed, 15 Jun 2022 11:43:50 +0000 (13:43 +0200)
commita86d3c774603c56a7f98c577da3694b777fcd10d
tree48c14c386fd9cc7833cd118577f101b1c8076eb8
parent713f06b115f7125b4cf0d21d667ab5c801318baf
Allow passing asyncio_loop argument to AsyncIOLoop

allows patterns of creating and explicitly passing the asyncio loop before creating IOLoop

For example: creating a loop with the non-default event loop policy without having to set the current policy
tornado/platform/asyncio.py
tornado/test/ioloop_test.py