Senthil Kumaran added the comment:

Christian's patch is good.It helps in setting the socket.makefile file 
descriptor to a well behaving well file close wrapper and thus will help us 
prevent some tricky fd close issues.

I added tests for coverage to ensure that we are asserting the type and 
covering all the methods in urllib.response. Attaching the patch built on top 
of Chritians one.

----------
Added file: http://bugs.python.org/file34970/issue15002.patch

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

Reply via email to