René's URL Explorer Experiment


Title: Add __new__ to old ast.Constant aliases by srittau · Pull Request #14397 · python/typeshed · GitHub

Open Graph Title: Add __new__ to old ast.Constant aliases by srittau · Pull Request #14397 · python/typeshed

X Title: Add __new__ to old ast.Constant aliases by srittau · Pull Request #14397 · python/typeshed

Description: Collection of library stubs for Python, with static types - Add __new__ to old ast.Constant aliases by srittau · Pull Request #14397 · python/typeshed

Open Graph Description: This aligns the old constant classes closer to the actual implementation. It's not perfect, as it doesn't replicate the __instancecheck__ and doesn't replicate the fact that theoretical...

X Description: This aligns the old constant classes closer to the actual implementation. It's not perfect, as it doesn't replicate the __instancecheck__ and doesn't replicate the fact that...

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

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:3b7f1e98-5d0b-e411-b3f8-f14dea291acc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB366:3E4AC7:224A2F6:2E71E44:6B0023BB
html-safe-nonce1b321c05c0254862b57b47382419474825524b3fb731a1c4d5b0ef07bdfa33c1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzY2OjNFNEFDNzoyMjRBMkY2OjJFNzFFNDQ6NkIwMDIzQkIiLCJ2aXNpdG9yX2lkIjoiMTI0Mjk5NzQ3NjA4OTE0NDI1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca410f69e77f98746ddd92d9cb2a6a953b828db2ca8221dcdb9f9898355fc92be
hovercard-subject-tagpull_request:2658633826
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/14397/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4dadd56012b1de0c1e46780f03e16af39ca2ed4dd16fa6abe484fa98f1646c7a/python/typeshed/pull/14397
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4dadd56012b1de0c1e46780f03e16af39ca2ed4dd16fa6abe484fa98f1646c7a/python/typeshed/pull/14397
og:image:altThis aligns the old constant classes closer to the actual implementation. It's not perfect, as it doesn't replicate the __instancecheck__ and doesn't replicate the fact that theoretical...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesrittau
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/14397#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14397
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%2F14397
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/14397
Reloadhttps://github.com/python/typeshed/pull/14397
Reloadhttps://github.com/python/typeshed/pull/14397
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)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
srittau:deprecated-asthttps://github.com/srittau/typeshed/tree/deprecated-ast
Conversationhttps://github.com/python/typeshed/pull/14397
Commits16 (16)https://github.com/python/typeshed/pull/14397/commits
Checkshttps://github.com/python/typeshed/pull/14397/checks
Files changedhttps://github.com/python/typeshed/pull/14397/files
Add __new__ to old ast.Constant aliaseshttps://github.com/python/typeshed/pull/14397#top
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
srittau:deprecated-asthttps://github.com/srittau/typeshed/tree/deprecated-ast
https://github.com/srittau
srittauhttps://github.com/srittau
Jul 11, 2025https://github.com/python/typeshed/pull/14397#issue-3222359392
Please reload this pagehttps://github.com/python/typeshed/pull/14397
Please reload this pagehttps://github.com/python/typeshed/pull/14397
srittauhttps://github.com/srittau
July 11, 2025 12:12https://github.com/python/typeshed/pull/14397#commits-pushed-61af05e
https://github.com/srittau
Add __new__ to old ast.Constant aliaseshttps://github.com/python/typeshed/pull/14397/commits/61af05e9f49046f5725b5bd282ace86c55adae62
61af05ehttps://github.com/python/typeshed/pull/14397/commits/61af05e9f49046f5725b5bd282ace86c55adae62
https://github.com/srittau
Add type: ignorehttps://github.com/python/typeshed/pull/14397/commits/2c52b43c4f5feb4f98071b9314535e6aa10e5d92
2c52b43https://github.com/python/typeshed/pull/14397/commits/2c52b43c4f5feb4f98071b9314535e6aa10e5d92
https://github.com/srittau
Remove allowlist entrieshttps://github.com/python/typeshed/pull/14397/commits/b813e7e3bce3ebc6f3a1cbddbd2c50bcd02b62da
b813e7ehttps://github.com/python/typeshed/pull/14397/commits/b813e7e3bce3ebc6f3a1cbddbd2c50bcd02b62da
https://github.com/srittau
Remove fields from deprecated classeshttps://github.com/python/typeshed/pull/14397/commits/3c59c0ce8cf56245a0fcb52a9362c253a559b591
3c59c0chttps://github.com/python/typeshed/pull/14397/commits/3c59c0ce8cf56245a0fcb52a9362c253a559b591
@deprecatedhttps://github.com/deprecated
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14397
srittauhttps://github.com/srittau
July 11, 2025 12:41https://github.com/python/typeshed/pull/14397#commits-pushed-503df8a
https://github.com/srittau
Annotate __new__ argumentshttps://github.com/python/typeshed/pull/14397/commits/503df8a03c55307af9ce9d1d6f5b6764558f058c
503df8ahttps://github.com/python/typeshed/pull/14397/commits/503df8a03c55307af9ce9d1d6f5b6764558f058c
https://github.com/srittau
Add ast.Ellipsis.__new__ to allowlisthttps://github.com/python/typeshed/pull/14397/commits/96562289c2acd772fa877c272cb92fc120245bc3
9656228https://github.com/python/typeshed/pull/14397/commits/96562289c2acd772fa877c272cb92fc120245bc3
https://github.com/srittau
Revert "Add ast.Ellipsis.__new__ to allowlist"https://github.com/python/typeshed/pull/14397/commits/4948960878d44b7b5362ef4376357423cfb2446b
4948960https://github.com/python/typeshed/pull/14397/commits/4948960878d44b7b5362ef4376357423cfb2446b
9656228https://github.com/srittau/typeshed/commit/96562289c2acd772fa877c272cb92fc120245bc3
https://github.com/srittau
Broaden type ignoreshttps://github.com/python/typeshed/pull/14397/commits/0f22d0c5d8395876c719227eefb65308cfab4cf9
0f22d0chttps://github.com/python/typeshed/pull/14397/commits/0f22d0c5d8395876c719227eefb65308cfab4cf9
https://github.com/srittau
Reapply "Add ast.Ellipsis.__new__ to allowlist"https://github.com/python/typeshed/pull/14397/commits/076515a64c10d8ddf36df9a2f8b33ccafed1f48b
076515ahttps://github.com/python/typeshed/pull/14397/commits/076515a64c10d8ddf36df9a2f8b33ccafed1f48b
4948960https://github.com/srittau/typeshed/commit/4948960878d44b7b5362ef4376357423cfb2446b
https://github.com/srittau
pyright ignorehttps://github.com/python/typeshed/pull/14397/commits/bdb9adcf48a132e2b525e0b0533d06bd60df4809
bdb9adchttps://github.com/python/typeshed/pull/14397/commits/bdb9adcf48a132e2b525e0b0533d06bd60df4809
https://github.com/srittau
fixhttps://github.com/python/typeshed/pull/14397/commits/e4d190a1229ac9e834dd106f356f603ab0002187
e4d190ahttps://github.com/python/typeshed/pull/14397/commits/e4d190a1229ac9e834dd106f356f603ab0002187
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 11, 2025 https://github.com/python/typeshed/pull/14397#pullrequestreview-3009829756
View reviewed changes https://github.com/python/typeshed/pull/14397/files/e4d190a1229ac9e834dd106f356f603ab0002187
stdlib/ast.pyihttps://github.com/python/typeshed/pull/14397/files/e4d190a1229ac9e834dd106f356f603ab0002187#diff-0e71f3f9388dacaa5c8cd33b77bfae95a52060b5748b3d97b60650cd3ccfb855
Please reload this pagehttps://github.com/python/typeshed/pull/14397
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14397
srittauhttps://github.com/srittau
July 11, 2025 13:36https://github.com/python/typeshed/pull/14397#commits-pushed-479e748
https://github.com/srittau
Fix a linter warninghttps://github.com/python/typeshed/pull/14397/commits/479e748c169631a40b93ece3e6895c49e708abcc
479e748https://github.com/python/typeshed/pull/14397/commits/479e748c169631a40b93ece3e6895c49e708abcc
https://github.com/srittau
Remove 'deprecated' wordinghttps://github.com/python/typeshed/pull/14397/commits/aa366835154baaaf10db067bfe32d34edcea56f6
aa36683https://github.com/python/typeshed/pull/14397/commits/aa366835154baaaf10db067bfe32d34edcea56f6
https://github.com/srittau
srittauhttps://github.com/srittau
Jul 11, 2025https://github.com/python/typeshed/pull/14397#issuecomment-3061950954
Please reload this pagehttps://github.com/python/typeshed/pull/14397
https://github.com/srittau
srittauhttps://github.com/srittau
July 11, 2025 11:39https://github.com/python/typeshed/pull/14397#event-18584654580
https://github.com/srittau
srittauhttps://github.com/srittau
Jul 11, 2025 https://github.com/python/typeshed/pull/14397#ref-pullrequest-3190232519
fix: ast.NameConstant missing fields #14353 https://github.com/python/typeshed/pull/14353
https://github.com/srittau
Even shorter deprecation messagehttps://github.com/python/typeshed/pull/14397/commits/b1eca026e7c37f7c47702d6cf977e360b2e29f9b
b1eca02https://github.com/python/typeshed/pull/14397/commits/b1eca026e7c37f7c47702d6cf977e360b2e29f9b
https://github.com/srittau
srittauhttps://github.com/srittau
Jul 11, 2025https://github.com/python/typeshed/pull/14397#issuecomment-3061985873
Please reload this pagehttps://github.com/python/typeshed/pull/14397
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 11, 2025 https://github.com/python/typeshed/pull/14397#pullrequestreview-3009950464
View reviewed changes https://github.com/python/typeshed/pull/14397/files/b1eca026e7c37f7c47702d6cf977e360b2e29f9b
stdlib/ast.pyihttps://github.com/python/typeshed/pull/14397/files/b1eca026e7c37f7c47702d6cf977e360b2e29f9b#diff-0e71f3f9388dacaa5c8cd33b77bfae95a52060b5748b3d97b60650cd3ccfb855
Please reload this pagehttps://github.com/python/typeshed/pull/14397
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F14397
srittauhttps://github.com/srittau
July 11, 2025 14:27https://github.com/python/typeshed/pull/14397#commits-pushed-4c518cc
https://github.com/srittau
Add settershttps://github.com/python/typeshed/pull/14397/commits/4c518cc403c9bf2172d179ba5cf9cb605bead115
4c518cchttps://github.com/python/typeshed/pull/14397/commits/4c518cc403c9bf2172d179ba5cf9cb605bead115
https://github.com/srittau
fixhttps://github.com/python/typeshed/pull/14397/commits/fac6f9a361fd7b034266b2b5e52288258eaf8c0d
fac6f9ahttps://github.com/python/typeshed/pull/14397/commits/fac6f9a361fd7b034266b2b5e52288258eaf8c0d
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 11, 2025 https://github.com/python/typeshed/pull/14397#pullrequestreview-3010123254
View reviewed changes https://github.com/python/typeshed/pull/14397/files/fac6f9a361fd7b034266b2b5e52288258eaf8c0d
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 11, 2025https://github.com/python/typeshed/pull/14397#issuecomment-3062196496
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/14397
https://github.com/srittau
srittauhttps://github.com/srittau
d5af6behttps://github.com/python/typeshed/commit/d5af6bee35dff9a73e7e42c5645e6de38088574d
Jul 11, 2025https://github.com/python/typeshed/pull/14397#event-18586113015
https://github.com/srittau
srittauhttps://github.com/srittau
July 11, 2025 12:59https://github.com/python/typeshed/pull/14397#event-18586113940
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Jul 15, 2025 https://github.com/python/typeshed/pull/14397#ref-pullrequest-3231803743
Sync typeshed python/mypy#19446 https://github.com/python/mypy/pull/19446
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%2F14397
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/typeshed/pull/14397/files/fac6f9a361fd7b034266b2b5e52288258eaf8c0d
Please reload this pagehttps://github.com/python/typeshed/pull/14397
Please reload this pagehttps://github.com/python/typeshed/pull/14397
https://github.com/srittau
https://github.com/AlexWaygood
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.