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: https://bugs.python.org/issue21861 Issue: gh-66060

Open Graph Description: https://bugs.python.org/issue21861 Issue: gh-66060

X Description: https://bugs.python.org/issue21861 Issue: gh-66060

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8b1942f2-bd8c-e0f9-1eda-1a34a6f90765
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id86B4:2371E7:4589BC6:6154569:6A50D90F
html-safe-nonce079f95af8022d1c9f55da868006d71a081edc44267246647f0ff6c2d93230cd6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkI0OjIzNzFFNzo0NTg5QkM2OjYxNTQ1Njk6NkE1MEQ5MEYiLCJ2aXNpdG9yX2lkIjoiMTMzNDQ4NzE1NTcyNTA5NzIzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca71ad85b28f465508fc69ea831e69b25c0093d38f3f722593902e492c798de34
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/30824/files
twitter:imagehttps://avatars.githubusercontent.com/u/699636?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/699636?s=400&v=4
og:image:althttps://bugs.python.org/issue21861 Issue: gh-66060
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release73ad5c4eaffed7bb3637024653eabdbca84a855e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/30824/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30824%2Ffiles
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%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/30824/files
Reloadhttps://github.com/python/cpython/pull/30824/files
Reloadhttps://github.com/python/cpython/pull/30824/files
Please reload this pagehttps://github.com/python/cpython/pull/30824/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/30824/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
erlend-aaslandhttps://github.com/erlend-aasland
python:mainhttps://github.com/python/cpython/tree/main
aisk:bpo-21861https://github.com/aisk/cpython/tree/bpo-21861
Conversation 11 https://github.com/python/cpython/pull/30824
Commits 6 https://github.com/python/cpython/pull/30824/commits
Checks 0 https://github.com/python/cpython/pull/30824/checks
Files changed https://github.com/python/cpython/pull/30824/files
Please reload this pagehttps://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/files#top
Show all changes 6 commits https://github.com/python/cpython/pull/30824/files
9a80e2b bpo-21861: fix __repr__ for io subclasses aisk Jan 23, 2022 https://github.com/python/cpython/pull/30824/commits/9a80e2be1467be04453e4bfb755b43ec6f947d2e
36b91cc Merge branch 'main' into bpo-21861 aisk Apr 3, 2023 https://github.com/python/cpython/pull/30824/commits/36b91cca56a3fa6acd07a460e15ff00555f6a47d
284e41f Merge branch 'main' into bpo-21861 erlend-aasland Jan 6, 2024 https://github.com/python/cpython/pull/30824/commits/284e41ff38d27b1b0088a194ecefb51843dab4a2
a27ec5c using %.100s as class name format aisk Jan 9, 2024 https://github.com/python/cpython/pull/30824/commits/a27ec5c9f8b33a55325fce50d3cc513ec777451f
8268a9a ensure test files got closed aisk Jan 9, 2024 https://github.com/python/cpython/pull/30824/commits/8268a9a0fb1b38c4726b48888ebd01a3820eeeaa
31e305b follow the PEP7 to format `winconsoleio_repr` function aisk Jan 9, 2024 https://github.com/python/cpython/pull/30824/commits/31e305bf331e02950c40302c113b746a9bc576e2
Clear filters https://github.com/python/cpython/pull/30824/files
Please reload this pagehttps://github.com/python/cpython/pull/30824/files
Please reload this pagehttps://github.com/python/cpython/pull/30824/files
test_fileio.py https://github.com/python/cpython/pull/30824/files#diff-9e4e996538d19d31fb952db09daf88fc86a89ad514956236de114ad1d3fff0dd
test_io.py https://github.com/python/cpython/pull/30824/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f
test_winconsoleio.py https://github.com/python/cpython/pull/30824/files#diff-d4a4c4599bd69d7da50609589d59270639a3101826e512999fb50fc2d9b47d09
2022-01-23-18-00-10.bpo-21861.N8E1zw.rst https://github.com/python/cpython/pull/30824/files#diff-e083766c9c806042b3af2bd6d9a9f76691da775296d4eddeaea67c10daa1e499
fileio.c https://github.com/python/cpython/pull/30824/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
textio.c https://github.com/python/cpython/pull/30824/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
winconsoleio.c https://github.com/python/cpython/pull/30824/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
Lib/test/test_fileio.pyhttps://github.com/python/cpython/pull/30824/files#diff-9e4e996538d19d31fb952db09daf88fc86a89ad514956236de114ad1d3fff0dd
View file https://github.com/aisk/cpython/blob/31e305bf331e02950c40302c113b746a9bc576e2/Lib/test/test_fileio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30824/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30824/files#diff-9e4e996538d19d31fb952db09daf88fc86a89ad514956236de114ad1d3fff0dd
https://github.com/python/cpython/pull/30824/files#diff-9e4e996538d19d31fb952db09daf88fc86a89ad514956236de114ad1d3fff0dd
Lib/test/test_io.pyhttps://github.com/python/cpython/pull/30824/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f
View file https://github.com/aisk/cpython/blob/31e305bf331e02950c40302c113b746a9bc576e2/Lib/test/test_io.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30824/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30824/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f
https://github.com/python/cpython/pull/30824/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f
Lib/test/test_winconsoleio.pyhttps://github.com/python/cpython/pull/30824/files#diff-d4a4c4599bd69d7da50609589d59270639a3101826e512999fb50fc2d9b47d09
View file https://github.com/aisk/cpython/blob/31e305bf331e02950c40302c113b746a9bc576e2/Lib/test/test_winconsoleio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30824/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30824/files#diff-d4a4c4599bd69d7da50609589d59270639a3101826e512999fb50fc2d9b47d09
https://github.com/python/cpython/pull/30824/files#diff-d4a4c4599bd69d7da50609589d59270639a3101826e512999fb50fc2d9b47d09
Misc/NEWS.d/next/Core and Builtins/2022-01-23-18-00-10.bpo-21861.N8E1zw.rsthttps://github.com/python/cpython/pull/30824/files#diff-e083766c9c806042b3af2bd6d9a9f76691da775296d4eddeaea67c10daa1e499
View file https://github.com/aisk/cpython/blob/31e305bf331e02950c40302c113b746a9bc576e2/Misc/NEWS.d/next/Core%20and%20Builtins/2022-01-23-18-00-10.bpo-21861.N8E1zw.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30824/{{ revealButtonHref }}
Modules/_io/fileio.chttps://github.com/python/cpython/pull/30824/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
View file https://github.com/aisk/cpython/blob/31e305bf331e02950c40302c113b746a9bc576e2/Modules/_io/fileio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30824/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30824/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/30824/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
Modules/_io/textio.chttps://github.com/python/cpython/pull/30824/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
View file https://github.com/aisk/cpython/blob/31e305bf331e02950c40302c113b746a9bc576e2/Modules/_io/textio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30824/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30824/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
https://github.com/python/cpython/pull/30824/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
Modules/_io/winconsoleio.chttps://github.com/python/cpython/pull/30824/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
View file https://github.com/aisk/cpython/blob/31e305bf331e02950c40302c113b746a9bc576e2/Modules/_io/winconsoleio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/30824/{{ revealButtonHref }}
https://github.com/python/cpython/pull/30824/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
Please reload this pagehttps://github.com/python/cpython/pull/30824/files
https://github.com/python/cpython/pull/30824/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
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.