Message87599
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. |
|
Date |
User |
Action |
Args |
2009-05-12 01:14:19 | jaraco | set | recipients:
+ jaraco, pitrou, alexandre.vassalotti, benjamin.peterson |
2009-05-12 01:14:19 | jaraco | set | messageid: <1242090859.72.0.687175620721.issue5265@psf.upfronthosting.co.za> |
2009-05-12 01:14:18 | jaraco | link | issue5265 messages |
2009-05-12 01:14:18 | jaraco | create | |
|