| 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:e7cf2d0b-afd4-eacb-a029-01da8f43a582 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E822:CE9E9:8380C:B5CBB:696A0214 |
| html-safe-nonce | 26c3e815c890e041a97fb0ff36ae213792a0a151a205464725dcacc86c34c37b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODIyOkNFOUU5OjgzODBDOkI1Q0JCOjY5NkEwMjE0IiwidmlzaXRvcl9pZCI6IjExNjQzODMzNjUzMzkxNTI5MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 33d3eba456bc18be6db49713a3125094f0748797c8b0c7a143edb44abece3ca7 |
| hovercard-subject-tag | pull_request:2285601975 |
| 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/128981/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9fb78b210a9c12d703690e18ed6bc61115b68bfcdf3ec39ef559da7258033219/python/cpython/pull/128981 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9fb78b210a9c12d703690e18ed6bc61115b68bfcdf3ec39ef559da7258033219/python/cpython/pull/128981 |
| og:image:alt | Those two imports are not really needed and we can reduce the import time of zipfile, or anything import it. Roughly, importing zipfile takes 8ms with this PR while it takes 10ms on main. Also, zip... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | picnixz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| 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 | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/128981#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128981 |
| 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%2F128981 |
|
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/128981 |
| Reload | https://github.com/python/cpython/pull/128981 |
| Reload | https://github.com/python/cpython/pull/128981 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
|
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/128981 |
|
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/128981#issue-comment-box |
| picnixz | https://github.com/picnixz |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:perf/import/remove-typing-118761 | https://github.com/picnixz/cpython/tree/perf/import/remove-typing-118761 |
|
gh-118761: Improve import time for pstats and zipfile by removing imports to typing
| https://github.com/python/cpython/pull/128981#top |
| picnixz | https://github.com/picnixz |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:perf/import/remove-typing-118761 | https://github.com/picnixz/cpython/tree/perf/import/remove-typing-118761 |
|
Conversation
9
| https://github.com/python/cpython/pull/128981 |
|
Commits
4
| https://github.com/python/cpython/pull/128981/commits |
|
Checks
36
| https://github.com/python/cpython/pull/128981/checks |
|
Files changed
| https://github.com/python/cpython/pull/128981/files |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| Jan 18, 2025 | https://github.com/python/cpython/pull/128981#issue-2796902590 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| @jaraco | https://github.com/jaraco |
| 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/128981 |
| picnixz | https://github.com/picnixz |
| January 16, 2025 13:11 | https://github.com/python/cpython/pull/128981#commits-pushed-e9d72b7 |
|
| https://github.com/picnixz |
| remove redundant imports to typing | https://github.com/python/cpython/pull/128981/commits/e9d72b78f6a3a32e76cbcb957520d66eef3a19e7 |
| e9d72b7 | https://github.com/python/cpython/pull/128981/commits/e9d72b78f6a3a32e76cbcb957520d66eef3a19e7 |
|
| https://github.com/picnixz |
| blurb | https://github.com/python/cpython/pull/128981/commits/6d0b6e0605331956da1b7e7d48dcf682632ab4c0 |
| 6d0b6e0 | https://github.com/python/cpython/pull/128981/commits/6d0b6e0605331956da1b7e7d48dcf682632ab4c0 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jan 18, 2025
| https://github.com/python/cpython/pull/128981#ref-issue-2285570381 |
|
Improve import time of various stdlib modules
#118761
| https://github.com/python/cpython/issues/118761 |
| 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 |
| Jan 18, 2025 | https://github.com/python/cpython/pull/128981#event-15985536118 |
|
| https://github.com/picnixz |
| Merge branch 'main' into perf/import/remove-typing-118761 | https://github.com/python/cpython/pull/128981/commits/66e973558f02d9cb864698c14c3a01d5260a1f74 |
| 66e9735 | https://github.com/python/cpython/pull/128981/commits/66e973558f02d9cb864698c14c3a01d5260a1f74 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| AA-Turner | https://github.com/AA-Turner |
| hugovk | https://github.com/hugovk |
| jaraco | https://github.com/jaraco |
| January 20, 2025 12:41 | https://github.com/python/cpython/pull/128981#event-15998353201 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
Jan 20, 2025
| https://github.com/python/cpython/pull/128981#pullrequestreview-2562556064 |
|
View reviewed changes
| https://github.com/python/cpython/pull/128981/files/7242a99a0a23c8d049cf58c2a65d590c12471747 |
| 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 |
| Jan 20, 2025 | https://github.com/python/cpython/pull/128981#event-15999907942 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
|
Jan 20, 2025
| https://github.com/python/cpython/pull/128981#pullrequestreview-2562615477 |
|
View reviewed changes
| https://github.com/python/cpython/pull/128981/files/7242a99a0a23c8d049cf58c2a65d590c12471747 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| Jan 20, 2025 | https://github.com/python/cpython/pull/128981#issuecomment-2602975815 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
|
| https://github.com/picnixz |
| Merge branch 'main' into perf/import/remove-typing-118761 | https://github.com/python/cpython/pull/128981/commits/7242a99a0a23c8d049cf58c2a65d590c12471747 |
| 7242a99 | https://github.com/python/cpython/pull/128981/commits/7242a99a0a23c8d049cf58c2a65d590c12471747 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| January 23, 2025 14:17 | https://github.com/python/cpython/pull/128981#event-16044605431 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Jan 23, 2025
| https://github.com/python/cpython/pull/128981#pullrequestreview-2570067501 |
|
View reviewed changes
| https://github.com/python/cpython/pull/128981/files/7242a99a0a23c8d049cf58c2a65d590c12471747 |
| vstinner | https://github.com/vstinner |
| https://github.com/python/cpython/pull/128981#pullrequestreview-2570067501 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| a95dca7 | https://github.com/python/cpython/commit/a95dca7b9891e673e77f868cac05b2068bce8b3a |
| Jan 23, 2025 | https://github.com/python/cpython/pull/128981#event-16045091002 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| 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 |
| Jan 23, 2025 | https://github.com/python/cpython/pull/128981#event-16045091791 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| January 23, 2025 15:10 | https://github.com/python/cpython/pull/128981#event-16045415973 |
| https://github.com/jaraco |
| jaraco | https://github.com/jaraco |
| Jan 26, 2025 | https://github.com/python/cpython/pull/128981#issuecomment-2614554724 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Jan 26, 2025 | https://github.com/python/cpython/pull/128981#issuecomment-2614561057 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| https://github.com/AA-Turner |
| AA-Turner | https://github.com/AA-Turner |
| Jan 26, 2025 | https://github.com/python/cpython/pull/128981#issuecomment-2614563640 |
| @jaraco | https://github.com/jaraco |
| this thread | https://discuss.python.org/t/static-type-annotations-in-cpython/65068 |
| no consensus | https://discuss.python.org/t/76766/32 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| https://github.com/gpshead |
| gpshead | https://github.com/gpshead |
| Jan 27, 2025 | https://github.com/python/cpython/pull/128981#issuecomment-2614717110 |
| https://discuss.python.org/t/static-type-annotations-in-cpython/65068/9 | https://discuss.python.org/t/static-type-annotations-in-cpython/65068/9 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| https://github.com/eli-schwartz |
| eli-schwartz | https://github.com/eli-schwartz |
| Jan 27, 2025 | https://github.com/python/cpython/pull/128981#issuecomment-2614732538 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| https://github.com/gpshead |
| gpshead | https://github.com/gpshead |
| Jan 27, 2025 | https://github.com/python/cpython/pull/128981#issuecomment-2614746808 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| https://github.com/eli-schwartz |
| eli-schwartz | https://github.com/eli-schwartz |
| Jan 27, 2025 | https://github.com/python/cpython/pull/128981#issuecomment-2614825775 |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
| 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%2F128981 |
|
| https://github.com/vstinner |
|
vstinner
| https://github.com/vstinner |
|
| https://github.com/python/cpython/pull/128981/files/7242a99a0a23c8d049cf58c2a65d590c12471747 |
|
| https://github.com/hugovk |
|
hugovk
| https://github.com/hugovk |
|
| https://github.com/python/cpython/pull/128981/files/7242a99a0a23c8d049cf58c2a65d590c12471747 |
|
| https://github.com/AA-Turner |
|
AA-Turner
| https://github.com/AA-Turner |
|
| https://github.com/python/cpython/pull/128981/files/7242a99a0a23c8d049cf58c2a65d590c12471747 |
|
| https://github.com/jaraco |
|
jaraco
| https://github.com/jaraco |
| Please reload this page | https://github.com/python/cpython/pull/128981 |
|
| https://github.com/picnixz |
|
| https://github.com/jaraco |
|
| https://github.com/vstinner |
|
| https://github.com/AA-Turner |
|
| https://github.com/gpshead |
|
| https://github.com/eli-schwartz |
|
| https://github.com/hugovk |
|
| 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 |