]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add stacklevel to deprecation warnings 3159/head
authorMin RK <benjaminrk@gmail.com>
Fri, 17 Jun 2022 09:22:53 +0000 (11:22 +0200)
committerMin RK <benjaminrk@gmail.com>
Fri, 17 Jun 2022 09:22:53 +0000 (11:22 +0200)
commit019fd527c2ac2c8592a01613c33613321cada5fa
tree562000d78a365bb8f9b87d036a7defc71eec3a19
parent713f06b115f7125b4cf0d21d667ab5c801318baf
Add stacklevel to deprecation warnings

so warnings are associated with the line where the deprecated methods are called
rather than the line where the warning itself is
tornado/ioloop.py
tornado/platform/asyncio.py