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 jaraco
Recipients alexandre.vassalotti, benjamin.peterson, jaraco, pitrou
Date 2009-05-12.01:14:17
SpamBayes Score 9.2870156e-14
Marked as misclassified No
Message-id <1242090859.72.0.687175620721.issue5265@psf.upfronthosting.co.za>
In-reply-to
Content
Although this was fixed for 3.1, it appears not to be fixed for Python
2.6 or 2.7.

PS C:\Users\jaraco> python
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import io
>>> io.StringIO('foo\r\nbar\r\n', newline=None).read()
u'foo\n\nbar\n\n'

Note that this behavior is slightly different from what pitrou reported.

If this cannot be fixed in 2.6, the documentation should at least
reflect that it doesn't work until a later version.
History
Date User Action Args
2009-05-12 01:14:19jaracosetrecipients: + jaraco, pitrou, alexandre.vassalotti, benjamin.peterson
2009-05-12 01:14:19jaracosetmessageid: <1242090859.72.0.687175620721.issue5265@psf.upfronthosting.co.za>
2009-05-12 01:14:18jaracolinkissue5265 messages
2009-05-12 01:14:18jaracocreate