-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-62491: codecs text streams now split lines only with \r, \n and \r\n. #9711
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
base: main
Are you sure you want to change the base?
Conversation
…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().
No need to use |
Since |
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 |
@serhiy-storchaka Does this PR have a chance to go into 3.12b1? |
This PR is stale because it has been open for 30 days with no activity. |
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