Traceback (most recent call last): File"/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/support/__init__.py", line827, ingc_collect gc.collect()ResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('127.0.0.1', 24468), raddr=('127.0.0.1', 24469)>Task was destroyed but it is pending!task:<Task pending name='Task-1741' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>Warning -- Unraisable exceptionException ignored while calling deallocator <function _SelectorTransport.__del__ at 0x83ee984d0>:Traceback (most recent call last): File"/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/asyncio/selector_events.py", line873, in__del__ _warn(f"unclosed transport{self!r}",ResourceWarning,source=self)ResourceWarning:unclosed transport <_SelectorSocketTransport closing fd=8>kTraceback (most recent call last): File"/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/test/support/__init__.py", line827, ingc_collect gc.collect()ResourceWarning:unclosed <socket.socket fd=10, family=2, type=1, proto=6, laddr=('127.0.0.1', 41909), raddr=('127.0.0.1', 41910)>Task was destroyed but it is pending!task:<Task pending name='Task-3623' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>Warning -- Unraisable exceptionException ignored while calling deallocator <function _SelectorTransport.__del__ at 0x843392e10>:Traceback (most recent call last): File"/buildbot/buildarea/3.14.ware-freebsd.refleak/build/Lib/asyncio/selector_events.py", line873, in__del__ _warn(f"unclosed transport{self!r}",ResourceWarning,source=self)ResourceWarning:unclosed transport <_SelectorSocketTransport closing fd=10>k
Uh oh!
There was an error while loading.Please reload this page.
This reverts commit 3c73cf5 (gh-133497), which itself reverted the original commitd270bb5 (gh-133221).
We reverted the original change due to failing android tests. The checks in _PyCode_CheckNoInternalState() were too strict, so we've relaxed them.
(This is a backport ofgh-133528.)