| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1b6fa85e-ad87-2f28-bd79-650373a15b9e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC52:A457C:A1FE4D:D78A16:69699219 |
| html-safe-nonce | e3988b3ceba11c96e987792bf882d8adbf55d5088a87bcdbab1522dc039efeee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzUyOkE0NTdDOkExRkU0RDpENzhBMTY6Njk2OTkyMTkiLCJ2aXNpdG9yX2lkIjoiODY3MzY2NDM3MTMxODY5MDMyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 881fd14d8f0def7a5b804dbb4eb4e7131e44e5117768de247f763b9bd186c18d |
| hovercard-subject-tag | pull_request:2429625247 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/131953/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9d4956c6fa5497833b5d8f22051d94dd7a50c4854de17723a9968295e93bc1c1/python/cpython/pull/131953 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d4956c6fa5497833b5d8f22051d94dd7a50c4854de17723a9968295e93bc1c1/python/cpython/pull/131953 |
| og:image:alt | Attempting @JelleZijlstra's suggestion in #118761 (comment).
Running python -Ximporttime -Sc "import ast" ten times with the current and proposed modules, I get 14.1ms for the curren... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AA-Turner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/131953#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131953 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F131953 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/131953 |
| Reload | https://github.com/python/cpython/pull/131953 |
| Reload | https://github.com/python/cpython/pull/131953 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
|
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 page | https://github.com/python/cpython/pull/131953 |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/131953#issue-comment-box |
| AA-Turner | https://github.com/AA-Turner |
| python:main | https://github.com/python/cpython/tree/main |
| AA-Turner:opt-ast | https://github.com/AA-Turner/cpython/tree/opt-ast |
|
gh-118761: Optimise import time for ast
| https://github.com/python/cpython/pull/131953#top |
| AA-Turner | https://github.com/AA-Turner |
| python:main | https://github.com/python/cpython/tree/main |
| AA-Turner:opt-ast | https://github.com/AA-Turner/cpython/tree/opt-ast |
|
Conversation
14
| https://github.com/python/cpython/pull/131953 |
|
Commits
5
| https://github.com/python/cpython/pull/131953/commits |
|
Checks
46
| https://github.com/python/cpython/pull/131953/checks |
|
Files changed
6
| https://github.com/python/cpython/pull/131953/files |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| Mar 31, 2025 | https://github.com/python/cpython/pull/131953#issue-2961249566 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| @JelleZijlstra | https://github.com/JelleZijlstra |
| #118761 (comment) | https://github.com/python/cpython/issues/118761#issuecomment-2766771485 |
| Improve import time of various stdlib modules #118761 | https://github.com/python/cpython/issues/118761 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
|
| https://github.com/AA-Turner |
| Optimise import time for ast | https://github.com/python/cpython/pull/131953/commits/1629db74705dc9ea1f941d50f0b9384d155e1fcf |
| 1629db7 | https://github.com/python/cpython/pull/131953/commits/1629db74705dc9ea1f941d50f0b9384d155e1fcf |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| Eclips4 | https://github.com/Eclips4 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| isidentical | https://github.com/isidentical |
| code owners | https://github.com/python/cpython/blob/0cd4befb02df07c0b320cd6246227c13e57b2efb/.github/CODEOWNERS#L190 |
| March 31, 2025 18:28 | https://github.com/python/cpython/pull/131953#event-17062011230 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Mar 31, 2025 | https://github.com/python/cpython/pull/131953#event-17062012198 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Mar 31, 2025
| https://github.com/python/cpython/pull/131953#ref-issue-2285570381 |
|
Improve import time of various stdlib modules
#118761
| https://github.com/python/cpython/issues/118761 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
|
skip issue
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22 |
|
skip issue
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22 |
| Mar 31, 2025 | https://github.com/python/cpython/pull/131953#event-17062017745 |
|
| https://github.com/AA-Turner |
| fixup! Optimise import time for ast | https://github.com/python/cpython/pull/131953/commits/dc95d19556bf741572286c9402265a4e6949219d |
| dc95d19 | https://github.com/python/cpython/pull/131953/commits/dc95d19556bf741572286c9402265a4e6949219d |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| ezio-melotti | https://github.com/ezio-melotti |
| hugovk | https://github.com/hugovk |
| code owners | https://github.com/python/cpython/blob/2e96f5ae4d1700d77a53180b4866c5b9f002e62d/.github/CODEOWNERS#L8 |
| March 31, 2025 19:35 | https://github.com/python/cpython/pull/131953#event-17062874991 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| ezio-melotti | https://github.com/ezio-melotti |
| hugovk | https://github.com/hugovk |
| March 31, 2025 19:43 | https://github.com/python/cpython/pull/131953#event-17062963503 |
|
| https://github.com/AA-Turner |
| Add private unparse names to getattr | https://github.com/python/cpython/pull/131953/commits/460491e5d14510ad9fc59a8bbce5a1aa8a15e2b2 |
| 460491e | https://github.com/python/cpython/pull/131953/commits/460491e5d14510ad9fc59a8bbce5a1aa8a15e2b2 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/danielhollas |
|
Apr 1, 2025
| https://github.com/python/cpython/pull/131953#pullrequestreview-2731003064 |
|
View reviewed changes
| https://github.com/python/cpython/pull/131953/files/dc95d19556bf741572286c9402265a4e6949219d |
| Lib/_ast_unparse.py | https://github.com/python/cpython/pull/131953/files/dc95d19556bf741572286c9402265a4e6949219d#diff-94bc0f4c091ddd0d30b3171f77a68f33b09697ea7ba9df5b0b6c3d3d5a176a4d |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
|
| https://github.com/AA-Turner |
| Define module level __dir__ | https://github.com/python/cpython/pull/131953/commits/d88eb24b2e5c1e81ed393f604590304dfcc47002 |
| d88eb24 | https://github.com/python/cpython/pull/131953/commits/d88eb24b2e5c1e81ed393f604590304dfcc47002 |
| https://github.com/eli-schwartz |
| eli-schwartz | https://github.com/eli-schwartz |
| Apr 1, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2768034992 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Apr 1, 2025
| https://github.com/python/cpython/pull/131953#pullrequestreview-2731046152 |
|
View reviewed changes
| https://github.com/python/cpython/pull/131953/files/d88eb24b2e5c1e81ed393f604590304dfcc47002 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| https://github.com/python/cpython/pull/131953#pullrequestreview-2731046152 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
|
| https://github.com/AA-Turner |
| Revert "Add private unparse names to getattr" | https://github.com/python/cpython/pull/131953/commits/a5463286921a91a25ea7c9f9d72aa8fcde57f4e2 |
| a546328 | https://github.com/python/cpython/pull/131953/commits/a5463286921a91a25ea7c9f9d72aa8fcde57f4e2 |
| 460491e | https://github.com/AA-Turner/cpython/commit/460491e5d14510ad9fc59a8bbce5a1aa8a15e2b2 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| Apr 1, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2768052601 |
| no results | https://github.com/search?q=Path%3A_ast_unparse.py&type=code |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Apr 2, 2025
| https://github.com/python/cpython/pull/131953#pullrequestreview-2736824235 |
|
View reviewed changes
| https://github.com/python/cpython/pull/131953/files/a5463286921a91a25ea7c9f9d72aa8fcde57f4e2 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#event-17096907394 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| f20f02e | https://github.com/python/cpython/commit/f20f02e6b586d5e497a1da2912930203b3469c17 |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#event-17097363566 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#event-17097364239 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| April 2, 2025 16:22 | https://github.com/python/cpython/pull/131953#event-17097364507 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773110636 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#event-17097383675 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773119288 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773122676 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773132213 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/danielhollas |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773154798 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/danielhollas |
| danielhollas | https://github.com/danielhollas |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773187078 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773187089 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773250329 |
| #132024 | https://github.com/python/cpython/pull/132024 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Apr 2, 2025 | https://github.com/python/cpython/pull/131953#issuecomment-2773285068 |
| #132025 | https://github.com/python/cpython/pull/132025 |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131953 |
|
| https://github.com/JelleZijlstra |
|
JelleZijlstra
| https://github.com/JelleZijlstra |
|
| https://github.com/python/cpython/pull/131953/files/a5463286921a91a25ea7c9f9d72aa8fcde57f4e2 |
|
| https://github.com/isidentical |
|
isidentical
| https://github.com/isidentical |
|
| https://github.com/Eclips4 |
|
Eclips4
| https://github.com/Eclips4 |
|
| https://github.com/danielhollas |
|
danielhollas
| https://github.com/danielhollas |
|
| https://github.com/python/cpython/pull/131953/files/dc95d19556bf741572286c9402265a4e6949219d |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
| Please reload this page | https://github.com/python/cpython/pull/131953 |
|
| https://github.com/AA-Turner |
|
| https://github.com/eli-schwartz |
|
| https://github.com/vstinner |
|
| https://github.com/danielhollas |
|
| https://github.com/JelleZijlstra |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |