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 couplewavylines
Recipients couplewavylines, docs@python
Date 2014-01-28.19:24:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390937078.16.0.885697814935.issue20423@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-01-28 19:24:38couplewavylinessetrecipients: + couplewavylines, docs@python
2014-01-28 19:24:38couplewavylinessetmessageid: <1390937078.16.0.885697814935.issue20423@psf.upfronthosting.co.za>
2014-01-28 19:24:38couplewavylineslinkissue20423 messages
2014-01-28 19:24:38couplewavylinescreate