René's URL Explorer Experiment


Title: Make `Any` a proper class instead of an alias to `object()` by grievejia · Pull Request #13520 · python/typeshed · GitHub

Open Graph Title: Make `Any` a proper class instead of an alias to `object()` by grievejia · Pull Request #13520 · python/typeshed

X Title: Make `Any` a proper class instead of an alias to `object()` by grievejia · Pull Request #13520 · python/typeshed

Description: Collection of library stubs for Python, with static types - Make `Any` a proper class instead of an alias to `object()` by grievejia · Pull Request #13520 · python/typeshed

Open Graph Description: At runtime, typing.Any is an actual class, not an object. Currently typeshed says Any = object() which seems wrong given it's not valid Python to use object() as type annotations, e.g. def test...

X Description: At runtime, typing.Any is an actual class, not an object. Currently typeshed says Any = object() which seems wrong given it's not valid Python to use object() as type annotations, e.g. def ...

Opengraph URL: https://github.com/python/typeshed/pull/13520

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:0195cad0-3e93-ccb1-4973-a1660f17cbbb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD286:2A01CD:24EA4:33859:6B006058
html-safe-nonce5a0d786ef988ae34def1fb58ef362e361f751f4c17c83eadce831dae9e7c9203
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjg2OjJBMDFDRDoyNEVBNDozMzg1OTo2QjAwNjA1OCIsInZpc2l0b3JfaWQiOiI1NTY2MjQ3OTQzNDgyMTM4NzEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3f7aa9ed8c785286354620b7ec525178d5430711ab6ed2b1caf4609e0cf25e07
hovercard-subject-tagpull_request:2348314711
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/typeshed/13520/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4042f105defc071d0b8e9271bc068d1f3916963ae5a8d9b2584c07c40a24f596/python/typeshed/pull/13520
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4042f105defc071d0b8e9271bc068d1f3916963ae5a8d9b2584c07c40a24f596/python/typeshed/pull/13520
og:image:altAt runtime, typing.Any is an actual class, not an object. Currently typeshed says Any = object() which seems wrong given it's not valid Python to use object() as type annotations, e.g. def test...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegrievejia
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/13520#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13520
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13520
Sign uphttps://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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/13520
Reloadhttps://github.com/python/typeshed/pull/13520
Reloadhttps://github.com/python/typeshed/pull/13520
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests252 (252)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
grievejia:fix_anyhttps://github.com/grievejia/typeshed/tree/fix_any
Conversationhttps://github.com/python/typeshed/pull/13520
Commits6 (6)https://github.com/python/typeshed/pull/13520/commits
Checkshttps://github.com/python/typeshed/pull/13520/checks
Files changedhttps://github.com/python/typeshed/pull/13520/files
Make Any a proper class instead of an alias to object()https://github.com/python/typeshed/pull/13520#top
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
grievejia:fix_anyhttps://github.com/grievejia/typeshed/tree/fix_any
https://github.com/grievejia
grievejiahttps://github.com/grievejia
Feb 20, 2025https://github.com/python/typeshed/pull/13520#issue-2867514448
actual classhttps://github.com/python/cpython/blob/6c450f44c283c61d0e1ada05ead9524a1fe97962/Lib/typing.py#L597
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/grievejia
Make Any a proper class instead of an alias to object()https://github.com/python/typeshed/pull/13520/commits/4cdcb955fcc4f23d84e6923a24c9403323a98802
4cdcb95https://github.com/python/typeshed/pull/13520/commits/4cdcb955fcc4f23d84e6923a24c9403323a98802
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13520
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 21, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2673206351
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Feb 21, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2673498681
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/grievejia
grievejiahttps://github.com/grievejia
Feb 24, 2025 https://github.com/python/typeshed/pull/13520#ref-issue-2876266596
Make Pyright more resilient against how Any is defined in typeshed microsoft/pyright#9968 https://github.com/microsoft/pyright/issues/9968
grievejiahttps://github.com/grievejia
February 28, 2025 13:18https://github.com/python/typeshed/pull/13520#commits-pushed-474c661
https://github.com/grievejia
Merge branch 'python:main' into fix_anyhttps://github.com/python/typeshed/pull/13520/commits/474c6610478a6d3d94d2eb2992e597034b1d894f
474c661https://github.com/python/typeshed/pull/13520/commits/474c6610478a6d3d94d2eb2992e597034b1d894f
https://github.com/grievejia
Add Any exclusion to stubtesthttps://github.com/python/typeshed/pull/13520/commits/2f8ed8ee9a8b2d84869e61a2bf9083d5ffbb976a
2f8ed8ehttps://github.com/python/typeshed/pull/13520/commits/2f8ed8ee9a8b2d84869e61a2bf9083d5ffbb976a
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13520
https://github.com/grievejia
Merge branch 'python:main' into fix_anyhttps://github.com/python/typeshed/pull/13520/commits/8222010a0b4b46d7bc79ec08139e2c7e02b60b55
8222010https://github.com/python/typeshed/pull/13520/commits/8222010a0b4b46d7bc79ec08139e2c7e02b60b55
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 18, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2734769929
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13520
https://github.com/grievejia
Fix formatting and ignore and more ignores on Any* in stub testshttps://github.com/python/typeshed/pull/13520/commits/5d0b0fb5da2e8e2e9bdf8de276900ac59afa7018
5d0b0fbhttps://github.com/python/typeshed/pull/13520/commits/5d0b0fb5da2e8e2e9bdf8de276900ac59afa7018
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13520
https://github.com/grievejia
grievejiahttps://github.com/grievejia
March 18, 2025 21:48https://github.com/python/typeshed/pull/13520#event-16850820245
https://github.com/grievejia
grievejiahttps://github.com/grievejia
Mar 18, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2734822345
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 19, 2025 https://github.com/python/typeshed/pull/13520#pullrequestreview-2698340761
View reviewed changes https://github.com/python/typeshed/pull/13520/files/289ce0a32547e7fcdd9460e41543e2f7c14eec72
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/13520#pullrequestreview-2698340761
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 19, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2736625450
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 19, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2736633988
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 19, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2736958998
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 19, 2025https://github.com/python/typeshed/pull/13520#event-16869176871
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 19, 2025https://github.com/python/typeshed/pull/13520#event-16869180945
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13520
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 19, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2737614569
actual classhttps://github.com/python/cpython/blob/6c450f44c283c61d0e1ada05ead9524a1fe97962/Lib/typing.py#L597
python/cpython@5a4973ehttps://github.com/python/cpython/commit/5a4973e29f2f5c4ee8c086f40325786c62381540
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/grievejia
Merge branch 'main' into fix_anyhttps://github.com/python/typeshed/pull/13520/commits/289ce0a32547e7fcdd9460e41543e2f7c14eec72
289ce0ahttps://github.com/python/typeshed/pull/13520/commits/289ce0a32547e7fcdd9460e41543e2f7c14eec72
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 19, 2025https://github.com/python/typeshed/pull/13520#issuecomment-2737676952
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/rchen152
rchen152https://github.com/rchen152
Mar 20, 2025 https://github.com/python/typeshed/pull/13520#pullrequestreview-2703924922
View reviewed changes https://github.com/python/typeshed/pull/13520/files/289ce0a32547e7fcdd9460e41543e2f7c14eec72
rchen152https://github.com/rchen152
https://github.com/python/typeshed/pull/13520#pullrequestreview-2703924922
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/srittau
srittauhttps://github.com/srittau
693b66ahttps://github.com/python/typeshed/commit/693b66ae9abd6ab65f27eed2d77408cc36ad2814
Mar 21, 2025https://github.com/python/typeshed/pull/13520#event-16927957369
https://github.com/grievejia
grievejiahttps://github.com/grievejia
March 24, 2025 18:18https://github.com/python/typeshed/pull/13520#event-16960934072
https://github.com/carljm
carljmhttps://github.com/carljm
Apr 1, 2025 https://github.com/python/typeshed/pull/13520#ref-pullrequest-2961936643
[red-knot] support Any as a class in typeshed astral-sh/ruff#17107 https://github.com/astral-sh/ruff/pull/17107
carljmhttps://github.com/carljm
Apr 1, 2025 https://github.com/python/typeshed/pull/13520#ref-commit-3f63c08
https://github.com/carljm
[red-knot] support Any as a class in typeshed (https://github.com/astral-sh/ruff/commit/3f63c08728314bf591055f236271c1c235add0d0
#17107https://github.com/astral-sh/ruff/pull/17107
)https://github.com/astral-sh/ruff/commit/3f63c08728314bf591055f236271c1c235add0d0
3f63c08https://github.com/astral-sh/ruff/commit/3f63c08728314bf591055f236271c1c235add0d0
python/typeshed#13520https://github.com/python/typeshed/pull/13520
#17106https://github.com/astral-sh/ruff/pull/17106
#17106https://github.com/astral-sh/ruff/pull/17106
#17106https://github.com/astral-sh/ruff/pull/17106
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Apr 4, 2025 https://github.com/python/typeshed/pull/13520#ref-pullrequest-2972285534
Sync typeshed python/mypy#18880 https://github.com/python/mypy/pull/18880
mmingyuhttps://github.com/mmingyu
May 16, 2025 https://github.com/python/typeshed/pull/13520#ref-commit-edec571
https://github.com/grievejia
Makehttps://github.com/mmingyu/typeshed/commit/edec5718e37a8aeb63e5adac1d4095617af5eec4
Anyhttps://github.com/mmingyu/typeshed/commit/edec5718e37a8aeb63e5adac1d4095617af5eec4
a proper class instead of an alias tohttps://github.com/mmingyu/typeshed/commit/edec5718e37a8aeb63e5adac1d4095617af5eec4
object()https://github.com/mmingyu/typeshed/commit/edec5718e37a8aeb63e5adac1d4095617af5eec4
(https://github.com/mmingyu/typeshed/commit/edec5718e37a8aeb63e5adac1d4095617af5eec4
python#1…https://github.com/python/typeshed/pull/13520
edec571https://github.com/mmingyu/typeshed/commit/edec5718e37a8aeb63e5adac1d4095617af5eec4
…3520https://github.com/python/typeshed/pull/13520
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jun 23, 2025 https://github.com/python/typeshed/pull/13520#ref-issue-3166442139
Regression: Unclear error message when using Any python/mypy#19327 https://github.com/python/mypy/issues/19327
KotlinIslandhttps://github.com/KotlinIsland
May 1, 2026 https://github.com/python/typeshed/pull/13520#ref-commit-ca09da2
https://github.com/carljm
[red-knot] support Any as a class in typeshed (#17107)https://github.com/KotlinIsland/basedpython/commit/ca09da272dae65f651eb2b9329e0fd854c516cf8
ca09da2https://github.com/KotlinIsland/basedpython/commit/ca09da272dae65f651eb2b9329e0fd854c516cf8
python/typeshed#13520https://github.com/python/typeshed/pull/13520
astral-sh/ruff#17106https://github.com/astral-sh/ruff/pull/17106
astral-sh/ruff#17106https://github.com/astral-sh/ruff/pull/17106
astral-sh/ruff#17106https://github.com/astral-sh/ruff/pull/17106
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F13520
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/13520/files/289ce0a32547e7fcdd9460e41543e2f7c14eec72
https://github.com/rchen152
rchen152 https://github.com/rchen152
https://github.com/python/typeshed/pull/13520/files/289ce0a32547e7fcdd9460e41543e2f7c14eec72
Please reload this pagehttps://github.com/python/typeshed/pull/13520
Please reload this pagehttps://github.com/python/typeshed/pull/13520
https://github.com/grievejia
https://github.com/JelleZijlstra
https://github.com/hauntsaninja
https://github.com/srittau
https://github.com/AlexWaygood
https://github.com/rchen152
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.