[issue12576] urlib.request fails to open some sites

STINNER Victor report at bugs.python.org
Mon Jul 18 11:01:51 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

ValueError('I/O operation on closed file') error comes from HTTPResponse.__enter__() which is implemented in IOBase:

    def __enter__(self):  # That's a forward reference
        self._checkClosed()
        return self

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12576>
_______________________________________


More information about the Python-bugs-list mailing list