Message414425
The original issue is fixed on main branch with bpo-44011 GH-31275,
It now only raises warnings but no exceptions:
-----------------------------------------------------------
(env) @kumaraditya303 ➜ /workspaces/cpython (latin1 ✗) $ python main.py
/workspaces/cpython/main.py:12: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
/workspaces/cpython/env/lib/python3.11/site-packages/certifi/core.py:36: DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
_CACERT_CTX = get_path("certifi", "cacert.pem")
sys:1: ResourceWarning: unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('172.16.5.4', 49202), raddr=('93.184.216.34', 443)>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/workspaces/cpython/Lib/asyncio/sslproto.py:116: ResourceWarning: unclosed transport <asyncio._SSLProtocolTransport object>
_warnings.warn(
/workspaces/cpython/Lib/asyncio/selector_events.py:710: ResourceWarning: unclosed transport <_SelectorSocketTransport fd=7>
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
-----------------------------------------------------------
@asvetlvo This can be closed now. |
|
Date |
User |
Action |
Args |
2022-03-03 11:22:48 | kumaraditya | set | recipients:
+ kumaraditya, christian.heimes, asvetlov, tomchristie, yselivanov |
2022-03-03 11:22:48 | kumaraditya | set | messageid: <1646306568.14.0.34339577759.issue36709@roundup.psfhosted.org> |
2022-03-03 11:22:48 | kumaraditya | link | issue36709 messages |
2022-03-03 11:22:47 | kumaraditya | create | |
|