]> git.ipfire.org Git - thirdparty/tornado.git/commit
asyncio: Use dynamic magic for AnyThreadEventLoopPolicy
authorBen Darnell <ben@bendarnell.com>
Thu, 20 Feb 2025 19:15:54 +0000 (14:15 -0500)
committerBen Darnell <ben@bendarnell.com>
Thu, 20 Feb 2025 19:21:31 +0000 (14:21 -0500)
commit40bbd6e8c55e33eca8c57f53983da2a1bb3df613
tree75f85f9f7f290571506e4b565f22d2f14144095d
parent5526b20c5e310fe9858d3b041808c6ee9756c8cb
asyncio: Use dynamic magic for AnyThreadEventLoopPolicy

Accessing the base policy classes now triggers a deprecation warning
so we must use our own getattr hook to avoid it except when needed.
docs/asyncio.rst
tornado/platform/asyncio.py
tornado/test/asyncio_test.py
tornado/test/import_test.py