New submission from Giampaolo Rodola' <g.rod...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9794>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to