[New-bugs-announce] [issue9794] socket.create_connection context manager
Giampaolo Rodola'
report at bugs.python.org
Wed Sep 8 00:23:55 CEST 2010
New submission from Giampaolo Rodola' <g.rodola at gmail.com>:
Patch in attachment adds a context manager to socket.socket class so that socket.create_connection() can be used with "with" statement.
----------
components: Library (Lib)
files: socket_ctx_mgr.patch
keywords: patch
messages: 115812
nosy: amaury.forgeotdarc, giampaolo.rodola, pitrou
priority: normal
severity: normal
status: open
title: socket.create_connection context manager
versions: Python 3.2
Added file: http://bugs.python.org/file18789/socket_ctx_mgr.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9794>
_______________________________________
More information about the New-bugs-announce
mailing list