This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kumaraditya
Recipients asvetlov, christian.heimes, kumaraditya, tomchristie, yselivanov
Date 2022-03-03.11:22:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646306568.14.0.34339577759.issue36709@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022-03-03 11:22:48kumaradityasetrecipients: + kumaraditya, christian.heimes, asvetlov, tomchristie, yselivanov
2022-03-03 11:22:48kumaradityasetmessageid: <1646306568.14.0.34339577759.issue36709@roundup.psfhosted.org>
2022-03-03 11:22:48kumaradityalinkissue36709 messages
2022-03-03 11:22:47kumaradityacreate