Terry J. Reedy <tjre...@udel.edu> added the comment:

A database record is equivalent to a logical line, possible wrapped onto 
multiple physical lines. So it is plausible.

The 7643 in the test name refers to issue #7643, What is a Unicode line break 
character?"  It contains this:
"
> We may add some words to the documentation for str.splitlines() and 
> bytes.splitlines() to explain what is considered a line break character.

For ASCII we should make the list of characters explicit.
For Unicode, we should mention the above definition and give
the table as example list (the Unicode database may add more
such characters in the future).
"
The test was added but the doc not.  I agree that it would be useful.  Feel 
free to suggest a doc change.

----------
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, terry.reedy
title: Python treats ASCII record seperator ('\x1e') as a newline -> Python 
treats ASCII record separator ('\x1e') as a newline
versions: +Python 3.7, Python 3.8 -Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34256>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to