[Python-bugs-list] [ python-Bugs-792101 ] urllib.urlopen for https doesn't always provide readlines

SourceForge.net noreply at sourceforge.net
Mon Oct 27 09:55:26 EST 2003


Bugs item #792101, was opened at 2003-08-20 14:50
Message generated for change (Comment added) made by garyfx
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=792101&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Gary Feldman (garyfx)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib.urlopen for https doesn't always provide readlines

Initial Comment:
The doc for urllib.urlopen says that the object
returned supports readlines.  However, I have a simple
case where it doesn't seem to raise IOError, but
readlines isn't provided.

The initial problem seems to be in addbase.__init__,
which tests fp for readlines, but doesn't do anything
if it's not there.  Presumably it should either provide
a dummy or raise an error (or alternatively, change the
documented behavior to match).


----------------------------------------------------------------------

>Comment By: Gary Feldman (garyfx)
Date: 2003-10-27 09:55

Message:
Logged In: YES 
user_id=847172

I'm not sure what the protocol is for responding to bug
fixes, but I do want to thank the folks responsible for
getting this fixed.

----------------------------------------------------------------------

Comment By: Gary Feldman (garyfx)
Date: 2003-10-27 09:44

Message:
Logged In: YES 
user_id=847172

I'm not sure what the protocol is for responding to bug
fixes, but I do want to thank the folks responsible for
getting this fixed.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-10-27 09:09

Message:
Logged In: YES 
user_id=21627

Fixed with said patch.

----------------------------------------------------------------------

Comment By: Andrew Gaul (gaul)
Date: 2003-10-04 16:29

Message:
Logged In: YES 
user_id=139865

SSLFile was providing a minimal set of file operations. 
Patch #817854 adds all methods that the urllib documentation
expects.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=792101&group_id=5470



More information about the Python-bugs-list mailing list