Ben Hayden <hayden...@gmail.com> added the comment:

Adding a patch that adds an __exit__ function much like the one that 
socket.socket implements. Passes the test_asyncore & also doesn't raise a 
resource warning when I explicitly comment out some close() calls on file 
wrapper objects in the test.

----------
keywords: +patch
nosy: +beardedp
Added file: http://bugs.python.org/file21236/issue11453.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11453>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to