René's URL Explorer Experiment


Title: bpo-36280: Add Constant.kind field by gvanrossum · Pull Request #12295 · python/cpython · GitHub

Open Graph Title: bpo-36280: Add Constant.kind field by gvanrossum · Pull Request #12295 · python/cpython

X Title: bpo-36280: Add Constant.kind field by gvanrossum · Pull Request #12295 · python/cpython

Description: The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." literals. The 'r' (raw) prefix is ignored. Does not apply to f-strings. This appears sufficient to make mypy capable of using the stdlib ast module instead of typed_ast (assuming a mypy patch I'm working on). WIP: I need to make the tests pass. @ilevkivskyi @serhiy-storchaka https://bugs.python.org/issue36280

Open Graph Description: The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." litera...

X Description: The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, &...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8c6410e4-36f8-8cd8-c655-90dd26d06156
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA002:8506A:790D7B:A4C29F:6A592EE4
html-safe-nonce7e8df57fa3b0bb83ea8b84649e850406cb15a7afb362e9877b5b162bac3dfdb0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDAyOjg1MDZBOjc5MEQ3QjpBNEMyOUY6NkE1OTJFRTQiLCJ2aXNpdG9yX2lkIjoiNzY2Nzk4MTkzOTEzNjYwNTkyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc341533679813674d298e350645e183c91bd2452a0cfd92834a86e50cfe7a07a
hovercard-subject-tagpull_request:260478209
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/12295/files
twitter:imagehttps://avatars.githubusercontent.com/u/2894642?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2894642?s=400&v=4
og:image:altThe value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." litera...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9713946e7d87c4b631b5230769f749551d20527cc4872e8f1d2ec6a11bead090
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
release858568d2992d2e6aac25cc4ebf5b46c83bbfd745
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/12295/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F12295%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%2F12295%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/12295/files
Reloadhttps://github.com/python/cpython/pull/12295/files
Reloadhttps://github.com/python/cpython/pull/12295/files
Please reload this pagehttps://github.com/python/cpython/pull/12295/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/12295/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k 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
miss-islingtonhttps://github.com/miss-islington
python:masterhttps://github.com/python/cpython/tree/master
gvanrossum:constant-kindhttps://github.com/gvanrossum/cpython/tree/constant-kind
Conversation 5 https://github.com/python/cpython/pull/12295
Commits 6 https://github.com/python/cpython/pull/12295/commits
Checks 0 https://github.com/python/cpython/pull/12295/checks
Files changed https://github.com/python/cpython/pull/12295/files
Please reload this pagehttps://github.com/python/cpython/pull/12295/files
bpo-36280: Add Constant.kind field https://github.com/python/cpython/pull/12295/files#top
Show all changes 6 commits https://github.com/python/cpython/pull/12295/files
0294e7c Add Constant.kind field gvanrossum Mar 12, 2019 https://github.com/python/cpython/pull/12295/commits/0294e7cc4afd1ac701d706ffd59300eb3e008d10
d72e19b Change of plan: set kind to 'u' or None gvanrossum Mar 13, 2019 https://github.com/python/cpython/pull/12295/commits/d72e19bcb65dc1dd9839385d5f16403f35ac3d20
98694bf Minimal test for ast.Constant.kind gvanrossum Mar 13, 2019 https://github.com/python/cpython/pull/12295/commits/98694bfa3426479f7c4b712eaeceaa2d6fe8d321
f1735e1 Fix test_ast.py gvanrossum Mar 13, 2019 https://github.com/python/cpython/pull/12295/commits/f1735e1f70abba3523f8b933dcd701f564010eca
fd75ea5 Add blurb (this is now bpo-36280) gvanrossum Mar 13, 2019 https://github.com/python/cpython/pull/12295/commits/fd75ea54667b2055ece26e8f6d78f89c2269202a
7633bf1 Check for errors in make_kind() gvanrossum Mar 13, 2019 https://github.com/python/cpython/pull/12295/commits/7633bf1c6e2f5e2d545b4e562a91d3b09eaf3446
Clear filters https://github.com/python/cpython/pull/12295/files
Please reload this pagehttps://github.com/python/cpython/pull/12295/files
Please reload this pagehttps://github.com/python/cpython/pull/12295/files
Python-ast.h https://github.com/python/cpython/pull/12295/files#diff-aa47c9a4ecdd799c2932afef25673bf9c33ec9ef75f1bc6054b924bea602c747
test_ast.py https://github.com/python/cpython/pull/12295/files#diff-3f516b60719dd445d33225e4f316b36e85c9c51a843a0147349d11a005c55937
2019-03-12-21-02-55.bpo-36280.mOd3iH.rst https://github.com/python/cpython/pull/12295/files#diff-fb9a81e84246357056d6ebf6f79c404d8a8759088bfc0fac2866b758ffc645a0
Python.asdl https://github.com/python/cpython/pull/12295/files#diff-56cfb21eb86b07bb94e916eb74143c7d6c2ac6f2494216c0e2507fd080c34aed
Python-ast.c https://github.com/python/cpython/pull/12295/files#diff-0258ad568d1bc0a5fa1c949351df0cc72a0a63441a1ed78c77d59f5695704857
ast.c https://github.com/python/cpython/pull/12295/files#diff-63309d32b22eaebd869b7ac0d2d4d02f95bd7ff5de2ba042d07c8e6962af8bbc
Include/Python-ast.hhttps://github.com/python/cpython/pull/12295/files#diff-aa47c9a4ecdd799c2932afef25673bf9c33ec9ef75f1bc6054b924bea602c747
View file https://github.com/gvanrossum/cpython/blob/7633bf1c6e2f5e2d545b4e562a91d3b09eaf3446/Include/Python-ast.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/12295/files
Please reload this pagehttps://github.com/python/cpython/pull/12295/files
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.