Message199376
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)
'' |
|
Date |
User |
Action |
Args |
2013-10-10 09:57:59 | Zdeněk.Pavlas | set | recipients:
+ Zdeněk.Pavlas |
2013-10-10 09:57:59 | Zdeněk.Pavlas | set | messageid: <1381399079.81.0.443745839975.issue19215@psf.upfronthosting.co.za> |
2013-10-10 09:57:59 | Zdeněk.Pavlas | link | issue19215 messages |
2013-10-10 09:57:59 | Zdeněk.Pavlas | create | |
|