René's URL Explorer Experiment


Title: bpo-38870: Expose a function to unparse an ast object in the ast module by pablogsal · Pull Request #17302 · python/cpython · GitHub

Open Graph Title: bpo-38870: Expose a function to unparse an ast object in the ast module by pablogsal · Pull Request #17302 · python/cpython

X Title: bpo-38870: Expose a function to unparse an ast object in the ast module by pablogsal · Pull Request #17302 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: https://bugs.python.org/issue38870 ⚠️ Note that this PR only exposes the function in the ast module and does not improve on the base code to avoid creating a gigantic PR when fixing cosmetic chang...

X Description: https://bugs.python.org/issue38870 ⚠️ Note that this PR only exposes the function in the ast module and does not improve on the base code to avoid creating a gigantic PR when fixing cosmetic chang...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:91e60196-2e17-4f81-99ff-b7d06611a1ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9F82:3B507F:1060C76:16A0074:696A9648
html-safe-nonce2298d04064b25d46f9bab7bbefa7c6bc8baa46dd673caef0558783e49b208aae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjgyOjNCNTA3RjoxMDYwQzc2OjE2QTAwNzQ6Njk2QTk2NDgiLCJ2aXNpdG9yX2lkIjoiMjE4MjY4MjkzODI3ODg0Mzk3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd55d50e03df551882505ad7b8acdead74db7c10f6ae613438b2173b6f10c007b
hovercard-subject-tagpull_request:343758670
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/17302/commits
twitter:imagehttps://opengraph.githubassets.com/6ec69b5f8d606c7b9f94963689091a11f6a3705ada9ca92f37fef0fa90eb718c/python/cpython/pull/17302
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ec69b5f8d606c7b9f94963689091a11f6a3705ada9ca92f37fef0fa90eb718c/python/cpython/pull/17302
og:image:althttps://bugs.python.org/issue38870 ⚠️ Note that this PR only exposes the function in the ast module and does not improve on the base code to avoid creating a gigantic PR when fixing cosmetic chang...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
hostnamegithub.com
expected-hostnamegithub.com
None4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7
turbo-cache-controlno-cache
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
release31496a13b80a2f6ad77d6c617ee2255a3545b539
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/17302/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F17302%2Fcommits
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%2F17302%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/17302/commits
Reloadhttps://github.com/python/cpython/pull/17302/commits
Reloadhttps://github.com/python/cpython/pull/17302/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/17302/commits
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/17302/commits
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
pablogsalhttps://github.com/pablogsal
python:masterhttps://github.com/python/cpython/tree/master
pablogsal:bpo-38870https://github.com/pablogsal/cpython/tree/bpo-38870
Conversationhttps://github.com/python/cpython/pull/17302
Commits15 (15)https://github.com/python/cpython/pull/17302/commits
Checkshttps://github.com/python/cpython/pull/17302/checks
Files changedhttps://github.com/python/cpython/pull/17302/files
bpo-38870: Expose a function to unparse an ast object in the ast modulehttps://github.com/python/cpython/pull/17302/commits#top
pablogsalhttps://github.com/pablogsal
python:masterhttps://github.com/python/cpython/tree/master
pablogsal:bpo-38870https://github.com/pablogsal/cpython/tree/bpo-38870
bpo-38870: Expose a function to unparse an ast object in the ast modulehttps://github.com/python/cpython/pull/17302/commits/0a65c6a6a7ecf86fbf467f713d3605501d9b6c57
https://github.com/pablogsal
pablogsalhttps://github.com/python/cpython/commits?author=pablogsal
0a65c6ahttps://github.com/python/cpython/pull/17302/commits/0a65c6a6a7ecf86fbf467f713d3605501d9b6c57
https://github.com/python/cpython/tree/0a65c6a6a7ecf86fbf467f713d3605501d9b6c57
Update what's newhttps://github.com/python/cpython/pull/17302/commits/1014fa8505effccde7a08d8dff92c649c2081d21
https://github.com/pablogsal
pablogsalhttps://github.com/python/cpython/commits?author=pablogsal
1014fa8https://github.com/python/cpython/pull/17302/commits/1014fa8505effccde7a08d8dff92c649c2081d21
https://github.com/python/cpython/tree/1014fa8505effccde7a08d8dff92c649c2081d21
Fix typo in class namehttps://github.com/python/cpython/pull/17302/commits/eb28c5d3a7b4305254e7e2d03fac4232ee6a808c
https://github.com/pablogsal
pablogsalhttps://github.com/python/cpython/commits?author=pablogsal
eb28c5dhttps://github.com/python/cpython/pull/17302/commits/eb28c5d3a7b4305254e7e2d03fac4232ee6a808c
https://github.com/python/cpython/tree/eb28c5d3a7b4305254e7e2d03fac4232ee6a808c
Use NodeVisitor instead of handmade dispatch() method in _Unparserhttps://github.com/python/cpython/pull/17302/commits/2d93781c62e03bdb8c191c1ef2662e9d78e93522
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
2d93781https://github.com/python/cpython/pull/17302/commits/2d93781c62e03bdb8c191c1ef2662e9d78e93522
https://github.com/python/cpython/tree/2d93781c62e03bdb8c191c1ef2662e9d78e93522
make _Unparser.enter a context manager and remove leavehttps://github.com/python/cpython/pull/17302/commits/838e7ef682cb824a67556b3751c32f4652ae826e
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
838e7efhttps://github.com/python/cpython/pull/17302/commits/838e7ef682cb824a67556b3751c32f4652ae826e
https://github.com/python/cpython/tree/838e7ef682cb824a67556b3751c32f4652ae826e
Make INFSTR a private constant, add interleave as a method to _Unparserhttps://github.com/python/cpython/pull/17302/commits/e9434a9e124e223214da94066b3607559c6b4c39
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
e9434a9https://github.com/python/cpython/pull/17302/commits/e9434a9e124e223214da94066b3607559c6b4c39
https://github.com/python/cpython/tree/e9434a9e124e223214da94066b3607559c6b4c39
Modernize assert checks into ValueErrors, test that caseshttps://github.com/python/cpython/pull/17302/commits/59f1efc399cd580865aaae584ef9c88057bd6fd5
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
59f1efchttps://github.com/python/cpython/pull/17302/commits/59f1efc399cd580865aaae584ef9c88057bd6fd5
https://github.com/python/cpython/tree/59f1efc399cd580865aaae584ef9c88057bd6fd5
Remove IO-like object API for _Unparser, convert it to node-based APIhttps://github.com/python/cpython/pull/17302/commits/0b39840db7124d6a907e096e02147246a395fe41
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
0b39840https://github.com/python/cpython/pull/17302/commits/0b39840db7124d6a907e096e02147246a395fe41
https://github.com/python/cpython/tree/0b39840db7124d6a907e096e02147246a395fe41
Add Batuhan Taskaya as a contributor to exposing unparsehttps://github.com/python/cpython/pull/17302/commits/68d1a329719fec62dfe2e30f59dbab7cf3c08d2e
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
68d1a32https://github.com/python/cpython/pull/17302/commits/68d1a329719fec62dfe2e30f59dbab7cf3c08d2e
https://github.com/python/cpython/tree/68d1a329719fec62dfe2e30f59dbab7cf3c08d2e
Modernize test_unparse with using sole pathlib instead of mixing os.pathhttps://github.com/python/cpython/pull/17302/commits/ba425c1d041e9ae12c5cd13d6a570f35371ef7d2
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
ba425c1https://github.com/python/cpython/pull/17302/commits/ba425c1d041e9ae12c5cd13d6a570f35371ef7d2
https://github.com/python/cpython/tree/ba425c1d041e9ae12c5cd13d6a570f35371ef7d2
Instead of using super, call traverse in all items so in the future we can give preceding information for traversehttps://github.com/python/cpython/pull/17302/commits/e158d34908c4f45597f6e5984b53caca6efd5aea
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
e158d34https://github.com/python/cpython/pull/17302/commits/e158d34908c4f45597f6e5984b53caca6efd5aea
https://github.com/python/cpython/tree/e158d34908c4f45597f6e5984b53caca6efd5aea
test only Lib/ and Lib/test (some tests in lib2to3 is including py2)https://github.com/python/cpython/pull/17302/commits/fc0e8acc5853e47052cdd9fa646dff3352d9dcfc
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
fc0e8achttps://github.com/python/cpython/pull/17302/commits/fc0e8acc5853e47052cdd9fa646dff3352d9dcfc
https://github.com/python/cpython/tree/fc0e8acc5853e47052cdd9fa646dff3352d9dcfc
use ast.parse() for consistency in future testshttps://github.com/python/cpython/pull/17302/commits/260cd5d63a894f5a093353c06c9b40fcbc0c6434
https://github.com/isidentical
isidenticalhttps://github.com/python/cpython/commits?author=isidentical
260cd5dhttps://github.com/python/cpython/pull/17302/commits/260cd5d63a894f5a093353c06c9b40fcbc0c6434
https://github.com/python/cpython/tree/260cd5d63a894f5a093353c06c9b40fcbc0c6434
Add formating, simplify the test file and cosmetic changeshttps://github.com/python/cpython/pull/17302/commits/28471e9eaf6703950432a8c6963a4d17ec55fdbc
https://github.com/pablogsal
pablogsalhttps://github.com/python/cpython/commits?author=pablogsal
28471e9https://github.com/python/cpython/pull/17302/commits/28471e9eaf6703950432a8c6963a4d17ec55fdbc
https://github.com/python/cpython/tree/28471e9eaf6703950432a8c6963a4d17ec55fdbc
Rewrite some docstringshttps://github.com/python/cpython/pull/17302/commits/96c9aade03c5f7bb9bfe02a277c603f2a2f73be8
https://github.com/pablogsal
pablogsalhttps://github.com/python/cpython/commits?author=pablogsal
96c9aadhttps://github.com/python/cpython/pull/17302/commits/96c9aade03c5f7bb9bfe02a277c603f2a2f73be8
https://github.com/python/cpython/tree/96c9aade03c5f7bb9bfe02a277c603f2a2f73be8
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.