[docs] [issue34256] Python treats ASCII record separator ('\x1e') as a newline

Martin Panter report at bugs.python.org
Fri Aug 3 19:55:15 EDT 2018


Martin Panter <vadmium+py at gmail.com> added the comment:

What documentation were you looking at? I remember adding 0x1E and others to the list in Issue 12855. See <https://docs.python.org/3.5/library/stdtypes.html#str.splitlines>:

‘‘‘
str.splitlines([keepends])
  . . .
  
  This method splits on the following line boundaries. . . .
  
  Representation  Description
  ==============  ===========
  . . .
  \x1e            Record Separator
  . . .
’’’

----------
nosy: +martin.panter

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34256>
_______________________________________


More information about the docs mailing list