René's URL Explorer Experiment


Title: gh-62491: codecs text streams now split lines only with \r, \n and \r\n. by serhiy-storchaka · Pull Request #9711 · python/cpython · GitHub

Open Graph Title: gh-62491: codecs text streams now split lines only with \r, \n and \r\n. by serhiy-storchaka · Pull Request #9711 · python/cpython

X Title: gh-62491: codecs text streams now split lines only with \r, \n and \r\n. by serhiy-storchaka · Pull Request #9711 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: 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 ...

X Description: 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 ...

Opengraph URL: https://github.com/python/cpython/pull/9711

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a78ab0d4-35bc-c020-3a62-d6934c42f005
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC6E:12056E:171054:1F8490:6A513195
html-safe-nonce096233fc96bcd039a774596a510fb24a5fa896869a7bb7366e167e00463d852e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzZFOjEyMDU2RToxNzEwNTQ6MUY4NDkwOjZBNTEzMTk1IiwidmlzaXRvcl9pZCI6IjM5MDI2MzAxMDEyNDI2ODc4OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac001cacb71c3a15fef54f230ee435fc245de954687195ebcac92abbbed0d33022
hovercard-subject-tagpull_request:220668617
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/9711/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8bc619f2a52675a27fd6d6f4af2acba8694277b2e7f35b950ec9302baf2e2bbd/python/cpython/pull/9711
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8bc619f2a52675a27fd6d6f4af2acba8694277b2e7f35b950ec9302baf2e2bbd/python/cpython/pull/9711
og:image:altThis 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 ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Nonee840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4ae6027e8ba70c79dc08249bb6cdc1a09d788496
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/9711#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F9711
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F9711
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/9711
Reloadhttps://github.com/python/cpython/pull/9711
Reloadhttps://github.com/python/cpython/pull/9711
Please reload this pagehttps://github.com/python/cpython/pull/9711
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/9711
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:codecs-splitlineshttps://github.com/serhiy-storchaka/cpython/tree/codecs-splitlines
Conversationhttps://github.com/python/cpython/pull/9711
Commits2 (2)https://github.com/python/cpython/pull/9711/commits
Checkshttps://github.com/python/cpython/pull/9711/checks
Files changedhttps://github.com/python/cpython/pull/9711/files
gh-62491: codecs text streams now split lines only with \r, \n and \r\n.https://github.com/python/cpython/pull/9711#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:codecs-splitlineshttps://github.com/serhiy-storchaka/cpython/tree/codecs-splitlines
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 5, 2018https://github.com/python/cpython/pull/9711#issue-367168586
Please reload this pagehttps://github.com/python/cpython/pull/9711
https://bugs.python.org/issue18291https://bugs.python.org/issue18291
codecs.open interprets FS, RS, GS as line ends #62491https://github.com/python/cpython/issues/62491
Please reload this pagehttps://github.com/python/cpython/pull/9711
https://github.com/serhiy-storchaka
bpo-18291: codecs text streams now split lines only with \r, \n and \…https://github.com/python/cpython/pull/9711/commits/aec8a36a0833f4917320dc647e96ec010f63a4fb
aec8a36https://github.com/python/cpython/pull/9711/commits/aec8a36a0833f4917320dc647e96ec010f63a4fb
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Oct 5, 2018https://github.com/python/cpython/pull/9711#event-1886898965
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Oct 5, 2018https://github.com/python/cpython/pull/9711#event-1886899054
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 5, 2018https://github.com/python/cpython/pull/9711#event-1886899061
https://github.com/methane
methanehttps://github.com/methane
Oct 5, 2018https://github.com/python/cpython/pull/9711#issuecomment-427338633
Please reload this pagehttps://github.com/python/cpython/pull/9711
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 5, 2018https://github.com/python/cpython/pull/9711#issuecomment-427340059
Please reload this pagehttps://github.com/python/cpython/pull/9711
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Dec 8, 2018https://github.com/python/cpython/pull/9711#event-2013923958
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Jan 10, 2019https://github.com/python/cpython/pull/9711#event-2066271242
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jan 10, 2019https://github.com/python/cpython/pull/9711#issuecomment-453149101
https://devguide.python.org/#status-of-python-brancheshttps://devguide.python.org/#status-of-python-branches
Please reload this pagehttps://github.com/python/cpython/pull/9711
https://github.com/ned-deily
ned-deilyhttps://github.com/ned-deily
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
May 8, 2021https://github.com/python/cpython/pull/9711#event-4707950954
https://github.com/python/cpython/pull/9711
wpkhttps://github.com/python/cpython/pull/9711
Apr 10, 2022 https://github.com/python/cpython/pull/9711#ref-issue-1198901947
codecs.open interprets FS, RS, GS as line ends #62491 https://github.com/python/cpython/issues/62491
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/9711#event-6988863893
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Feb 21, 2023https://github.com/python/cpython/pull/9711#event-8572041939
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
Apr 15, 2023https://github.com/python/cpython/pull/9711#event-9014908008
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
topic-unicode https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-unicode
topic-IO https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-IO
Apr 15, 2023https://github.com/python/cpython/pull/9711#event-9014910216
https://github.com/arhadthedev
Merge branch 'main' into codecs-splitlineshttps://github.com/python/cpython/pull/9711/commits/d0186a37a8d615a01a09fb7a5b61af99f07e52e5
d0186a3https://github.com/python/cpython/pull/9711/commits/d0186a37a8d615a01a09fb7a5b61af99f07e52e5
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
Apr 15, 2023https://github.com/python/cpython/pull/9711#issuecomment-1509914601
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/9711
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 13, 2025https://github.com/python/cpython/pull/9711#issuecomment-2799708858
Please reload this pagehttps://github.com/python/cpython/pull/9711
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 13, 2025https://github.com/python/cpython/pull/9711#event-17237519870
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F9711
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
topic-IO https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-IO
topic-unicode https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-unicode
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Please reload this pagehttps://github.com/python/cpython/pull/9711
https://github.com/serhiy-storchaka
https://github.com/methane
https://github.com/vstinner
https://github.com/arhadthedev
https://github.com/iritkatriel
https://github.com/ned-deily
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
https://github.com/bedevere-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.