Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-18291: codecs text streams now split lines only with \r, \n and \r\n. #9711

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 5, 2018

This behavior is compatible with io text streams in universal newlines
mode. Previously they split lines using Unicode line terminators as in
str.splitlines().

https://bugs.python.org/issue18291

…r\n.

This behavior is compatible with io text streams in universal newlines
mode. Previously they split lines using Unicode line terminators as in
str.splitlines().
@methane
Copy link
Member

methane commented Oct 5, 2018

No need to use _ prefix for new functions?

@serhiy-storchaka
Copy link
Member Author

serhiy-storchaka commented Oct 5, 2018

Since __all__ is defined there is no need to use _ prefix.

@vstinner
Copy link
Member

vstinner commented Jan 10, 2019

I removed the " needs backport to 3.6" label, the 3.6 branch no longer accept bugfixes (only security fixes are accepted): https://devguide.python.org/#status-of-python-branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge DO-NOT-MERGE type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants