Message209577
In io.StringIO, the newline argument's default is currently documented as "newline=None" in the section header. However, it's described this way: "The default is to do no newline translation." The behavior of io.StringIO is consistent with this description (NO newline translation).
The header should actually read "newline=''".
"newline=None" would mean there IS newline translation by default, which is not the case. Code sample attached as no_translation.py. |
|
Date |
User |
Action |
Args |
2014-01-28 19:24:38 | couplewavylines | set | recipients:
+ couplewavylines, docs@python |
2014-01-28 19:24:38 | couplewavylines | set | messageid: <1390937078.16.0.885697814935.issue20423@psf.upfronthosting.co.za> |
2014-01-28 19:24:38 | couplewavylines | link | issue20423 messages |
2014-01-28 19:24:38 | couplewavylines | create | |
|