This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Zdeněk.Pavlas
Recipients Zdeněk.Pavlas
Date 2013-10-10.09:57:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381399079.81.0.443745839975.issue19215@psf.upfronthosting.co.za>
In-reply-to
Content
The behavior contradicts documentation and is inconsistent with both cStringIO and File objects.  Patch attached.

>>> StringIO.StringIO('foo').readline(0)
'foo'
>>> cStringIO.StringIO('foo').readline(0)
''
>>> open('/etc/passwd').readline(0)
''
History
Date User Action Args
2013-10-10 09:57:59Zdeněk.Pavlassetrecipients: + Zdeněk.Pavlas
2013-10-10 09:57:59Zdeněk.Pavlassetmessageid: <1381399079.81.0.443745839975.issue19215@psf.upfronthosting.co.za>
2013-10-10 09:57:59Zdeněk.Pavlaslinkissue19215 messages
2013-10-10 09:57:59Zdeněk.Pavlascreate