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

2018-07-28 Thread Anton Patrushev
Anton Patrushev added the comment: 0x1e listed as linebreak char in tests: Lib/test/test_unicodedata.py:317 -- nosy: +apatrushev ___ Python tracker ___

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

2018-07-28 Thread Tim McNamara
Tim McNamara added the comment: Hello, I apologize if this is expected behavior, however it doesn't appear to be documented. >>> "single\x1eline\x1estring".splitlines() ['single', 'line', 'string'] The glossary refers to the universal newlines as: > universal newlines >A manner of

[issue34256] Python treats ASCII record seperator ('\x1e as a newline

2018-07-28 Thread Tim McNamara
New submission from Tim McNamara : Hello, I apologize if this is expected behavior, however it doesn't appear to be documented haven't. >>> "single\x1eline\x1estring".splitlines() ['single', 'line', 'string'] -- messages: 322537 nosy: timClicks priority: normal severity: normal