René's URL Explorer Experiment


Title: gh-95987: Fix `repr` of `Any` type subclasses by sobolevn · Pull Request #96412 · python/cpython · GitHub

Open Graph Title: gh-95987: Fix `repr` of `Any` type subclasses by sobolevn · Pull Request #96412 · python/cpython

X Title: gh-95987: Fix `repr` of `Any` type subclasses by sobolevn · Pull Request #96412 · python/cpython

Description: Thanks to @Gobot1234 😉 Issue: repr(subclass of typing.Any) shows typing.Any not <__main__.subclass of typing.Any> #95987

Open Graph Description: Thanks to @Gobot1234 😉 Issue: repr(subclass of typing.Any) shows typing.Any not <__main__.subclass of typing.Any> #95987

X Description: Thanks to @Gobot1234 😉 Issue: repr(subclass of typing.Any) shows typing.Any not <__main__.subclass of typing.Any> #95987

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:b4146386-cb16-b85b-8a5c-acb9db47d936
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA5F8:1DECF9:ECF487:1357416:696B0829
html-safe-nonce13097c3ce207f63c78d2cbaca02284f7d22c5a39173418d81228dbcf4b27aca9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUY4OjFERUNGOTpFQ0Y0ODc6MTM1NzQxNjo2OTZCMDgyOSIsInZpc2l0b3JfaWQiOiI2MDk0Njc4NTE0NTc0NDkzNzM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacec51d370ade1db9509640f65b4deff1e0b21269de6cc20a4b178f5118cd0c5e9
hovercard-subject-tagpull_request:1040666173
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
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/96412
twitter:imagehttps://opengraph.githubassets.com/528ce341dfd3426275f34563cac74490a8fd00c9f0daa5d64a42218cb9597838/python/cpython/pull/96412
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/528ce341dfd3426275f34563cac74490a8fd00c9f0daa5d64a42218cb9597838/python/cpython/pull/96412
og:image:altThanks to @Gobot1234 😉 Issue: repr(subclass of typing.Any) shows typing.Any not <__main__.subclass of typing.Any> #95987
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/96412#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96412
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F96412
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&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/96412
Reloadhttps://github.com/python/cpython/pull/96412
Reloadhttps://github.com/python/cpython/pull/96412
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/96412
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/96412
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 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
Jump to bottomhttps://github.com/python/cpython/pull/96412#issue-comment-box
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-95987https://github.com/sobolevn/cpython/tree/issue-95987
gh-95987: Fix repr of Any type subclasses https://github.com/python/cpython/pull/96412#top
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-95987https://github.com/sobolevn/cpython/tree/issue-95987
Conversation 3 https://github.com/python/cpython/pull/96412
Commits 1 https://github.com/python/cpython/pull/96412/commits
Checks 0 https://github.com/python/cpython/pull/96412/checks
Files changed https://github.com/python/cpython/pull/96412/files
Please reload this pagehttps://github.com/python/cpython/pull/96412
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 30, 2022https://github.com/python/cpython/pull/96412#issue-1355404411
Please reload this pagehttps://github.com/python/cpython/pull/96412
@Gobot1234https://github.com/Gobot1234
repr(subclass of typing.Any) shows typing.Any not <__main__.subclass of typing.Any> #95987https://github.com/python/cpython/issues/95987
Please reload this pagehttps://github.com/python/cpython/pull/96412
https://github.com/sobolevn
pythongh-95987https://github.com/python/cpython/issues/95987
: Fixhttps://github.com/python/cpython/pull/96412/commits/8615afe3e988aea75b3c546e9fb9555982aa8c57
reprhttps://github.com/python/cpython/pull/96412/commits/8615afe3e988aea75b3c546e9fb9555982aa8c57
ofhttps://github.com/python/cpython/pull/96412/commits/8615afe3e988aea75b3c546e9fb9555982aa8c57
Anyhttps://github.com/python/cpython/pull/96412/commits/8615afe3e988aea75b3c546e9fb9555982aa8c57
type subclasseshttps://github.com/python/cpython/pull/96412/commits/8615afe3e988aea75b3c546e9fb9555982aa8c57
8615afehttps://github.com/python/cpython/pull/96412/commits/8615afe3e988aea75b3c546e9fb9555982aa8c57
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Fidget-Spinnerhttps://github.com/Fidget-Spinner
JelleZijlstrahttps://github.com/JelleZijlstra
gvanrossumhttps://github.com/gvanrossum
code ownershttps://github.com/python/cpython/blob/9625de6fab4597bcd04ec390b680b053b0533816/.github/CODEOWNERS#L135
August 30, 2022 08:47https://github.com/python/cpython/pull/96412#event-7285344902
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 30, 2022https://github.com/python/cpython/pull/96412#event-7285345349
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 30, 2022https://github.com/python/cpython/pull/96412#event-7285764727
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 30, 2022https://github.com/python/cpython/pull/96412#event-7285765188
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Aug 30, 2022 https://github.com/python/cpython/pull/96412#pullrequestreview-1090049333
View reviewed changes https://github.com/python/cpython/pull/96412/files/8615afe3e988aea75b3c546e9fb9555982aa8c57
Fidget-Spinnerhttps://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/96412#pullrequestreview-1090049333
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/96412
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
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 30, 2022https://github.com/python/cpython/pull/96412#event-7286125007
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 30, 2022https://github.com/python/cpython/pull/96412#issuecomment-1231554633
@Fidget-Spinnerhttps://github.com/Fidget-Spinner
#31841https://github.com/python/cpython/pull/31841
Please reload this pagehttps://github.com/python/cpython/pull/96412
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Aug 30, 2022 https://github.com/python/cpython/pull/96412#pullrequestreview-1090722680
View reviewed changes https://github.com/python/cpython/pull/96412/files/8615afe3e988aea75b3c546e9fb9555982aa8c57
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
4217393https://github.com/python/cpython/commit/4217393aeed42d67dd4b16a128528f5ca8d939c4
Aug 30, 2022https://github.com/python/cpython/pull/96412#event-7289661796
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
Aug 30, 2022https://github.com/python/cpython/pull/96412#event-7289662046
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Aug 30, 2022https://github.com/python/cpython/pull/96412#issuecomment-1231966881
Please reload this pagehttps://github.com/python/cpython/pull/96412
https://github.com/Gobot1234
Gobot1234https://github.com/Gobot1234
Aug 31, 2022 https://github.com/python/cpython/pull/96412#ref-issue-1338367140
repr(subclass of typing.Any) shows typing.Any not <__main__.subclass of typing.Any> #95987 https://github.com/python/cpython/issues/95987
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 31, 2022 https://github.com/python/cpython/pull/96412#ref-pullrequest-1356757136
[3.11] gh-95987: Fix repr of Any type subclasses (GH-96412) #96451 https://github.com/python/cpython/pull/96451
hauntsaninjahttps://github.com/hauntsaninja
Aug 31, 2022 https://github.com/python/cpython/pull/96412#ref-commit-4975181
https://github.com/sobolevn
https://github.com/hauntsaninja
[3.11]https://github.com/hauntsaninja/cpython/commit/49751813084a60533a4ccdb7bd4b65e633e86560
pythongh-95987https://github.com/python/cpython/issues/95987
: Fixhttps://github.com/hauntsaninja/cpython/commit/49751813084a60533a4ccdb7bd4b65e633e86560
reprhttps://github.com/hauntsaninja/cpython/commit/49751813084a60533a4ccdb7bd4b65e633e86560
ofhttps://github.com/hauntsaninja/cpython/commit/49751813084a60533a4ccdb7bd4b65e633e86560
Anyhttps://github.com/hauntsaninja/cpython/commit/49751813084a60533a4ccdb7bd4b65e633e86560
type subclasses (https://github.com/hauntsaninja/cpython/commit/49751813084a60533a4ccdb7bd4b65e633e86560
pythonGH-…https://github.com/python/cpython/pull/96412
4975181https://github.com/hauntsaninja/cpython/commit/49751813084a60533a4ccdb7bd4b65e633e86560
…96412https://github.com/python/cpython/pull/96412
ambvhttps://github.com/ambv
Oct 5, 2022 https://github.com/python/cpython/pull/96412#ref-commit-c9eacc8
https://github.com/hauntsaninja
https://github.com/sobolevn
[3.11]https://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
gh-95987https://github.com/python/cpython/issues/95987
: Fixhttps://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
reprhttps://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
ofhttps://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
Anyhttps://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
type subclasses (https://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
GH-96412https://github.com/python/cpython/pull/96412
) (https://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
#96451https://github.com/python/cpython/pull/96451
)https://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
c9eacc8https://github.com/python/cpython/commit/c9eacc8d02a949b7539a24ce744786940864e270
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%2F96412
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/96412/files/8615afe3e988aea75b3c546e9fb9555982aa8c57
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/96412/files/8615afe3e988aea75b3c546e9fb9555982aa8c57
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/96412
https://github.com/sobolevn
https://github.com/gvanrossum
https://github.com/Fidget-Spinner
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.