René's URL Explorer Experiment


Title: gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return by mohsinm-dev · Pull Request #141331 · python/cpython · GitHub

Open Graph Title: gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return by mohsinm-dev · Pull Request #141331 · python/cpython

X Title: gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return by mohsinm-dev · Pull Request #141331 · python/cpython

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

Open Graph Description: Summary Fix assertion failure in io.TextIOWrapper.tell() when reading files ending with standalone \r Add comprehensive test case to prevent regression Add NEWS entry documenting the fix Root Cau...

X Description: Summary Fix assertion failure in io.TextIOWrapper.tell() when reading files ending with standalone \r Add comprehensive test case to prevent regression Add NEWS entry documenting the fix Root Cau...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:bc912475-3663-6530-bcc9-37395a2d5179
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idB438:2E1DA7:1122078:173B973:6A5079ED
html-safe-noncebe845fed4dc94da5ab07ae6d6d514f85740e3464bf4c33ee03d7e11de21e176a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDM4OjJFMURBNzoxMTIyMDc4OjE3M0I5NzM6NkE1MDc5RUQiLCJ2aXNpdG9yX2lkIjoiNjkwNzQ0MzYyNTg3NDk3OTMwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacccd5a8084fd2428a6586e1eb4d9a6dfc1a8b8ae00ddd7c83c90901484f35ca7e
hovercard-subject-tagpull_request:2993336620
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/141331/checks
twitter:imagehttps://opengraph.githubassets.com/bd757f3f0985e65d367ab96166ce4877ffdf002b79f3a1adfeba88fd950825d6/python/cpython/pull/141331
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bd757f3f0985e65d367ab96166ce4877ffdf002b79f3a1adfeba88fd950825d6/python/cpython/pull/141331
og:image:altSummary Fix assertion failure in io.TextIOWrapper.tell() when reading files ending with standalone \r Add comprehensive test case to prevent regression Add NEWS entry documenting the fix Root Cau...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemohsinm-dev
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/141331/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141331%2Fchecks
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%2F141331%2Fchecks
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%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/141331/checks
Reloadhttps://github.com/python/cpython/pull/141331/checks
Reloadhttps://github.com/python/cpython/pull/141331/checks
Please reload this pagehttps://github.com/python/cpython/pull/141331/checks
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/141331/checks
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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
mohsinm-dev:fix-textio-tell-assertion-gh-141314https://github.com/mohsinm-dev/cpython/tree/fix-textio-tell-assertion-gh-141314
Conversationhttps://github.com/python/cpython/pull/141331
Commits6 (6)https://github.com/python/cpython/pull/141331/commits
Checkshttps://github.com/python/cpython/pull/141331/checks
Files changedhttps://github.com/python/cpython/pull/141331/files
gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage returnhttps://github.com/python/cpython/pull/141331/checks#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
mohsinm-dev:fix-textio-tell-assertion-gh-141314https://github.com/mohsinm-dev/cpython/tree/fix-textio-tell-assertion-gh-141314
Please reload this pagehttps://github.com/python/cpython/pull/141331/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141331%2Fchecks
Check labels on: pull_request https://github.com/python/cpython/actions/runs/19241014806
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/19241014806/job/55003403796?pr=141331
Unresolved review https://github.com/python/cpython/actions/runs/19241014806/job/55003403807?pr=141331
Tests on: pull_request https://github.com/python/cpython/actions/runs/19241014817
Change detection / Create context from changed files https://github.com/python/cpython/actions/runs/19241014817/job/55003406836?pr=141331
Docs / Docs https://github.com/python/cpython/actions/runs/19241014817/job/55003435192?pr=141331
Docs / Doctest https://github.com/python/cpython/actions/runs/19241014817/job/55003435181?pr=141331
Docs / Check EPUB https://github.com/python/cpython/actions/runs/19241014817/job/55003435198?pr=141331
Check if Autoconf files are up to date https://github.com/python/cpython/actions/runs/19241014817/job/55003433407?pr=141331
Check if generated files are up to date https://github.com/python/cpython/actions/runs/19241014817/job/55003433356?pr=141331
Windows / Build and test (x64) https://github.com/python/cpython/actions/runs/19241014817/job/55003434511?pr=141331
Windows (free-threading) / Build and test (x64) https://github.com/python/cpython/actions/runs/19241014817/job/55003434630?pr=141331
Windows / Build and test (Win32) https://github.com/python/cpython/actions/runs/19241014817/job/55003434543?pr=141331
Windows / Build and test (arm64) https://github.com/python/cpython/actions/runs/19241014817/job/55003434472?pr=141331
Windows (free-threading) / Build and test (arm64) https://github.com/python/cpython/actions/runs/19241014817/job/55003434500?pr=141331
Windows MSI${{ '' }} https://github.com/python/cpython/actions/runs/19241014817/job/55003433381?pr=141331
macOS / build and test (macos-14) https://github.com/python/cpython/actions/runs/19241014817/job/55003434533?pr=141331
macOS (free-threading) / build and test (macos-14) https://github.com/python/cpython/actions/runs/19241014817/job/55003434579?pr=141331
macOS / build and test (macos-15-intel) https://github.com/python/cpython/actions/runs/19241014817/job/55003434601?pr=141331
Ubuntu / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/19241014817/job/55003434410?pr=141331
Ubuntu / build and test (ubuntu-24.04-arm) https://github.com/python/cpython/actions/runs/19241014817/job/55003434305?pr=141331
Ubuntu (free-threading) / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/19241014817/job/55003434329?pr=141331
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm) https://github.com/python/cpython/actions/runs/19241014817/job/55003434320?pr=141331
Ubuntu (bolt) / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/19241014817/job/55003434421?pr=141331
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 1.1.1w) https://github.com/python/cpython/actions/runs/19241014817/job/55003433411?pr=141331
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.18) https://github.com/python/cpython/actions/runs/19241014817/job/55003433410?pr=141331
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.6) https://github.com/python/cpython/actions/runs/19241014817/job/55003433403?pr=141331
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.5) https://github.com/python/cpython/actions/runs/19241014817/job/55003433400?pr=141331
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.3) https://github.com/python/cpython/actions/runs/19241014817/job/55003433386?pr=141331
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.5.4) https://github.com/python/cpython/actions/runs/19241014817/job/55003433429?pr=141331
Ubuntu SSL tests with AWS-LC (ubuntu-24.04, 1.55.0) https://github.com/python/cpython/actions/runs/19241014817/job/55003433312?pr=141331
Android (aarch64) https://github.com/python/cpython/actions/runs/19241014817/job/55003433334?pr=141331
Android (x86_64) https://github.com/python/cpython/actions/runs/19241014817/job/55003433327?pr=141331
iOS https://github.com/python/cpython/actions/runs/19241014817/job/55003433379?pr=141331
WASI / build and test https://github.com/python/cpython/actions/runs/19241014817/job/55003433907?pr=141331
Hypothesis tests on Ubuntu https://github.com/python/cpython/actions/runs/19241014817/job/55003433373?pr=141331
Address sanitizer (ubuntu-24.04) https://github.com/python/cpython/actions/runs/19241014817/job/55003433435?pr=141331
Sanitizers / TSan https://github.com/python/cpython/actions/runs/19241014817/job/55003434414?pr=141331
Sanitizers / TSan (free-threading) https://github.com/python/cpython/actions/runs/19241014817/job/55003434503?pr=141331
Sanitizers / UBSan https://github.com/python/cpython/actions/runs/19241014817/job/55003434435?pr=141331
Cross build Linux https://github.com/python/cpython/actions/runs/19241014817/job/55003433717?pr=141331
CIFuzz https://github.com/python/cpython/actions/runs/19241014817/job/55003433723?pr=141331
All required checks pass https://github.com/python/cpython/actions/runs/19241014817/job/55005819969?pr=141331
Lint on: pull_request https://github.com/python/cpython/actions/runs/19241014820
lint https://github.com/python/cpython/actions/runs/19241014820/job/55003404083?pr=141331
Check labels on: pull_request https://github.com/python/cpython/actions/runs/19268901158
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/19268901158/job/55091647122?pr=141331
Unresolved review https://github.com/python/cpython/actions/runs/19268901158/job/55091647050?pr=141331
Check labels on: pull_request https://github.com/python/cpython/actions/runs/19268901411
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/19268901411/job/55091648073?pr=141331
Unresolved review https://github.com/python/cpython/actions/runs/19268901411/job/55091648093?pr=141331
Check labels on: pull_request https://github.com/python/cpython/actions/runs/19279472832
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/19279472832/job/55127137085?pr=141331
Unresolved review https://github.com/python/cpython/actions/runs/19279472832/job/55127137088?pr=141331
Check labels on: pull_request https://github.com/python/cpython/actions/runs/19279480555
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/19279480555/job/55127159543?pr=141331
Unresolved review https://github.com/python/cpython/actions/runs/19279480555/job/55127159509?pr=141331
Check labels on: pull_request https://github.com/python/cpython/actions/runs/19279480582
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/19279480582/job/55127159600?pr=141331
Unresolved review https://github.com/python/cpython/actions/runs/19279480582/job/55127159604?pr=141331
Check labels on: pull_request https://github.com/python/cpython/actions/runs/19293098193
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/19293098193/job/55168268882?pr=141331
Unresolved review https://github.com/python/cpython/actions/runs/19293098193/job/55168268903?pr=141331
Check labels on: pull_request https://github.com/python/cpython/actions/runs/19293099605
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/19293099605/job/55168274526?pr=141331
Unresolved review https://github.com/python/cpython/actions/runs/19293099605/job/55168274509?pr=141331
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.