New submission from Lars Andersson:
The attached code generates an unclosed socket ResourceWarning when timing out
trying to connect to an unreachable address.
Probably not terribly serious, but in my case, it generates distracting
warnings during unit testing.
I have looked briefly at the asyncio code but it's not immediately obvious to
me how to fix it.
--
components: Library (Lib)
files: timeout.py
messages: 215291
nosy: landersson
priority: normal
severity: normal
status: open
title: asyncio create_connection resource warning
type: resource usage
versions: Python 3.4
Added file: http://bugs.python.org/file34689/timeout.py
___
Python tracker
<http://bugs.python.org/issue21119>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com