René's URL Explorer Experiment


Title: gh-66060: Use actual class name in some `_io` type's `__repr__` by aisk · Pull Request #30824 · python/cpython · GitHub

Open Graph Title: gh-66060: Use actual class name in some `_io` type's `__repr__` by aisk · Pull Request #30824 · python/cpython

X Title: gh-66060: Use actual class name in some `_io` type's `__repr__` by aisk · Pull Request #30824 · python/cpython

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

Open Graph Description: https://bugs.python.org/issue21861 Issue: io class name are hardcoded in reprs #66060

X Description: https://bugs.python.org/issue21861 Issue: io class name are hardcoded in reprs #66060

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:240ae099-3839-a628-8277-0bb99cfc73bc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAC8E:9BDE:734EE:9E30A:6A4FB93C
html-safe-nonce62b98b533acea4670b66b31a2a021ebce255c41625abb42946c110ed52d4b4f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzhFOjlCREU6NzM0RUU6OUUzMEE6NkE0RkI5M0MiLCJ2aXNpdG9yX2lkIjoiOTA2MTU5NzQ5OTgxOTUzODc0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca46886fc40f4c3bd6796169e90118246612c7adf629ffd270e1b1287ead0f771
hovercard-subject-tagpull_request:829714140
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/30824/commits
twitter:imagehttps://opengraph.githubassets.com/742e437809b30955355557c279f18b658359ab918b8df8bb6b7b4d5bed0c1920/python/cpython/pull/30824
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/742e437809b30955355557c279f18b658359ab918b8df8bb6b7b4d5bed0c1920/python/cpython/pull/30824
og:image:althttps://bugs.python.org/issue21861 Issue: io class name are hardcoded in reprs #66060
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaisk
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/30824/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30824%2Fcommits
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%2F30824%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/30824/commits
Reloadhttps://github.com/python/cpython/pull/30824/commits
Reloadhttps://github.com/python/cpython/pull/30824/commits
Please reload this pagehttps://github.com/python/cpython/pull/30824/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/30824/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k 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
erlend-aaslandhttps://github.com/erlend-aasland
python:mainhttps://github.com/python/cpython/tree/main
aisk:bpo-21861https://github.com/aisk/cpython/tree/bpo-21861
Conversationhttps://github.com/python/cpython/pull/30824
Commits6 (6)https://github.com/python/cpython/pull/30824/commits
Checkshttps://github.com/python/cpython/pull/30824/checks
Files changedhttps://github.com/python/cpython/pull/30824/files
gh-66060: Use actual class name in some _io type's __repr__https://github.com/python/cpython/pull/30824/commits#top
erlend-aaslandhttps://github.com/erlend-aasland
python:mainhttps://github.com/python/cpython/tree/main
aisk:bpo-21861https://github.com/aisk/cpython/tree/bpo-21861
bpo-21861: fix __repr__ for io subclasseshttps://github.com/python/cpython/pull/30824/commits/9a80e2be1467be04453e4bfb755b43ec6f947d2e
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
9a80e2bhttps://github.com/python/cpython/pull/30824/commits/9a80e2be1467be04453e4bfb755b43ec6f947d2e
https://github.com/python/cpython/tree/9a80e2be1467be04453e4bfb755b43ec6f947d2e
Merge branch 'main' into bpo-21861https://github.com/python/cpython/pull/30824/commits/36b91cca56a3fa6acd07a460e15ff00555f6a47d
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
36b91cchttps://github.com/python/cpython/pull/30824/commits/36b91cca56a3fa6acd07a460e15ff00555f6a47d
https://github.com/python/cpython/tree/36b91cca56a3fa6acd07a460e15ff00555f6a47d
Merge branch 'main' into bpo-21861https://github.com/python/cpython/pull/30824/commits/284e41ff38d27b1b0088a194ecefb51843dab4a2
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/python/cpython/commits?author=erlend-aasland
284e41fhttps://github.com/python/cpython/pull/30824/commits/284e41ff38d27b1b0088a194ecefb51843dab4a2
https://github.com/python/cpython/tree/284e41ff38d27b1b0088a194ecefb51843dab4a2
using %.100s as class name formathttps://github.com/python/cpython/pull/30824/commits/a27ec5c9f8b33a55325fce50d3cc513ec777451f
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
a27ec5chttps://github.com/python/cpython/pull/30824/commits/a27ec5c9f8b33a55325fce50d3cc513ec777451f
https://github.com/python/cpython/tree/a27ec5c9f8b33a55325fce50d3cc513ec777451f
ensure test files got closedhttps://github.com/python/cpython/pull/30824/commits/8268a9a0fb1b38c4726b48888ebd01a3820eeeaa
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
8268a9ahttps://github.com/python/cpython/pull/30824/commits/8268a9a0fb1b38c4726b48888ebd01a3820eeeaa
https://github.com/python/cpython/tree/8268a9a0fb1b38c4726b48888ebd01a3820eeeaa
follow the PEP7 to format `winconsoleio_repr` functionhttps://github.com/python/cpython/pull/30824/commits/31e305bf331e02950c40302c113b746a9bc576e2
https://github.com/aisk
aiskhttps://github.com/python/cpython/commits?author=aisk
31e305bhttps://github.com/python/cpython/pull/30824/commits/31e305bf331e02950c40302c113b746a9bc576e2
https://github.com/python/cpython/tree/31e305bf331e02950c40302c113b746a9bc576e2
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.