| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:9da2502f-6e6d-7cf6-3130-d587da671583 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EE36:21AC3F:410E43A:52509E1:6B01FEEE |
| html-safe-nonce | da7ecec5f362dad92cbe2b653d750a2bfdcbcd4343efe93a4780e2d026584598 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTM2OjIxQUMzRjo0MTBFNDNBOjUyNTA5RTE6NkIwMUZFRUUiLCJ2aXNpdG9yX2lkIjoiMTQ1NDU2MDkwNzg5MDkxNzEwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0c3666b30a630732ce1cb8aae3227d7bd0047d243ef52a847d30af92020e0af6 |
| hovercard-subject-tag | pull_request:4654430493 |
| 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 | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/158282/commits |
| twitter:image | https://opengraph.githubassets.com/d53beec6c41ec264f08454b706cb52b4c2071910dceace6bfc1e82d4f06aca75/python/cpython/pull/158282 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d53beec6c41ec264f08454b706cb52b4c2071910dceace6bfc1e82d4f06aca75/python/cpython/pull/158282 |
| og:image:alt | The current implementation has some problems. The eval loop and module attribute lookup repeat the code that resolves a lazy import and replaces its placeholder. These copies behave differently. We... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/158282/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158282%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158282%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 |
| Reload | https://github.com/python/cpython/pull/158282/commits |
| Reload | https://github.com/python/cpython/pull/158282/commits |
| Reload | https://github.com/python/cpython/pull/158282/commits |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| https://github.com/python/cpython |
| hugovk | https://github.com/hugovk |
| python:main | https://github.com/python/cpython/tree/main |
| pablogsal:simplify-lazy-imports-c | https://github.com/pablogsal/cpython/tree/simplify-lazy-imports-c |
| Conversation | https://github.com/python/cpython/pull/158282 |
| Commits19 (19) | https://github.com/python/cpython/pull/158282/commits |
| Checks | https://github.com/python/cpython/pull/158282/checks |
| Files changed | https://github.com/python/cpython/pull/158282/files |
| gh-142349: Simplify lazy import resolution | https://github.com/python/cpython/pull/158282/commits#top |
| hugovk | https://github.com/hugovk |
| python:main | https://github.com/python/cpython/tree/main |
| pablogsal:simplify-lazy-imports-c | https://github.com/pablogsal/cpython/tree/simplify-lazy-imports-c |
| Move lazy resolution next to the placeholder | https://github.com/python/cpython/pull/158282/commits/67ed53598bf82329edfd5ae599e8b36f5a275d71 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| 67ed535 | https://github.com/python/cpython/pull/158282/commits/67ed53598bf82329edfd5ae599e8b36f5a275d71 |
| https://github.com/python/cpython/tree/67ed53598bf82329edfd5ae599e8b36f5a275d71 |
| Track lazy resolution per thread | https://github.com/python/cpython/pull/158282/commits/ac89dd0892cba39599bb730dba33b90040436c11 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| ac89dd0 | https://github.com/python/cpython/pull/158282/commits/ac89dd0892cba39599bb730dba33b90040436c11 |
| https://github.com/python/cpython/tree/ac89dd0892cba39599bb730dba33b90040436c11 |
| Keep the original lazy import error chain | https://github.com/python/cpython/pull/158282/commits/846f93497ae013ab48eced32d79222dbb31ca5c9 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| 846f934 | https://github.com/python/cpython/pull/158282/commits/846f93497ae013ab48eced32d79222dbb31ca5c9 |
| https://github.com/python/cpython/tree/846f93497ae013ab48eced32d79222dbb31ca5c9 |
| Avoid waiting in the lazy from shortcut | https://github.com/python/cpython/pull/158282/commits/dd01552d2a7fb2f5870e402b5ab5abf27df7fbd3 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| dd01552 | https://github.com/python/cpython/pull/158282/commits/dd01552d2a7fb2f5870e402b5ab5abf27df7fbd3 |
| https://github.com/python/cpython/tree/dd01552d2a7fb2f5870e402b5ab5abf27df7fbd3 |
| Simplify lazy import declarations | https://github.com/python/cpython/pull/158282/commits/b78ebc9c8927084c69e90940827633fc0b30c6f4 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| b78ebc9 | https://github.com/python/cpython/pull/158282/commits/b78ebc9c8927084c69e90940827633fc0b30c6f4 |
| https://github.com/python/cpython/tree/b78ebc9c8927084c69e90940827633fc0b30c6f4 |
| Handle lazy module hooks and children together | https://github.com/python/cpython/pull/158282/commits/917df44c277a86162011a11fcaf629928da1986e |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| 917df44 | https://github.com/python/cpython/pull/158282/commits/917df44c277a86162011a11fcaf629928da1986e |
| https://github.com/python/cpython/tree/917df44c277a86162011a11fcaf629928da1986e |
| Share lazy import rebinding | https://github.com/python/cpython/pull/158282/commits/4dc64c864178c326ad98cd57039787dba5f0fb61 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| 4dc64c8 | https://github.com/python/cpython/pull/158282/commits/4dc64c864178c326ad98cd57039787dba5f0fb61 |
| https://github.com/python/cpython/tree/4dc64c864178c326ad98cd57039787dba5f0fb61 |
| Keep imported attributes on their parent package | https://github.com/python/cpython/pull/158282/commits/ad34faea95935c9cedfb940930e3c377322a4e09 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| ad34fae | https://github.com/python/cpython/pull/158282/commits/ad34faea95935c9cedfb940930e3c377322a4e09 |
| https://github.com/python/cpython/tree/ad34faea95935c9cedfb940930e3c377322a4e09 |
| Add/move assertions to replace_value | https://github.com/python/cpython/pull/158282/commits/047f4d45271b714dbb664e3650b5e6f9891feb1e |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 047f4d4 | https://github.com/python/cpython/pull/158282/commits/047f4d45271b714dbb664e3650b5e6f9891feb1e |
| https://github.com/python/cpython/tree/047f4d45271b714dbb664e3650b5e6f9891feb1e |
| Replace BPO issue number with GH | https://github.com/python/cpython/pull/158282/commits/3612cf928e7e5adf76029e831158a5797087f88b |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 3612cf9 | https://github.com/python/cpython/pull/158282/commits/3612cf928e7e5adf76029e831158a5797087f88b |
| https://github.com/python/cpython/tree/3612cf928e7e5adf76029e831158a5797087f88b |
| Switch matches to Py_ssize_t | https://github.com/python/cpython/pull/158282/commits/c5068e02139a065414f383851f73081ee33d8e54 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| c5068e0 | https://github.com/python/cpython/pull/158282/commits/c5068e02139a065414f383851f73081ee33d8e54 |
| https://github.com/python/cpython/tree/c5068e02139a065414f383851f73081ee33d8e54 |
| PEP 257 | https://github.com/python/cpython/pull/158282/commits/d7a24822d5788547292e102510ac92085169e269 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| d7a2482 | https://github.com/python/cpython/pull/158282/commits/d7a24822d5788547292e102510ac92085169e269 |
| https://github.com/python/cpython/tree/d7a24822d5788547292e102510ac92085169e269 |
| Expand asserts for readability & better error reporting | https://github.com/python/cpython/pull/158282/commits/456a83f10ba94660b7b54b8cae34f7b16e3e067a |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 456a83f | https://github.com/python/cpython/pull/158282/commits/456a83f10ba94660b7b54b8cae34f7b16e3e067a |
| https://github.com/python/cpython/tree/456a83f10ba94660b7b54b8cae34f7b16e3e067a |
| Update lazyimportobject.c | https://github.com/python/cpython/pull/158282/commits/3dae4a6b6a25375f9b3f0b1f999c556cc06cf352 |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 3dae4a6 | https://github.com/python/cpython/pull/158282/commits/3dae4a6b6a25375f9b3f0b1f999c556cc06cf352 |
| https://github.com/python/cpython/tree/3dae4a6b6a25375f9b3f0b1f999c556cc06cf352 |
| Add notes | https://github.com/python/cpython/pull/158282/commits/88146d081263dd42bbd844e52c0db576975f5922 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 88146d0 | https://github.com/python/cpython/pull/158282/commits/88146d081263dd42bbd844e52c0db576975f5922 |
| https://github.com/python/cpython/tree/88146d081263dd42bbd844e52c0db576975f5922 |
| Add test for adding notes to chained exceptions | https://github.com/python/cpython/pull/158282/commits/e3b48f586154519748563ff5da98c8fd74078e2a |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| e3b48f5 | https://github.com/python/cpython/pull/158282/commits/e3b48f586154519748563ff5da98c8fd74078e2a |
| https://github.com/python/cpython/tree/e3b48f586154519748563ff5da98c8fd74078e2a |
| Add test for fromlist type checking | https://github.com/python/cpython/pull/158282/commits/523fa99e93cb27a25acc02edabd3ce67f12037c0 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 523fa99 | https://github.com/python/cpython/pull/158282/commits/523fa99e93cb27a25acc02edabd3ce67f12037c0 |
| https://github.com/python/cpython/tree/523fa99e93cb27a25acc02edabd3ce67f12037c0 |
| Apply batched suggestions from code review | https://github.com/python/cpython/pull/158282/commits/e44cc181f05cbdbb8bad3c9ad5e74a0c99dfdaa0 |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| hugovk | https://github.com/python/cpython/commits?author=hugovk |
| e44cc18 | https://github.com/python/cpython/pull/158282/commits/e44cc181f05cbdbb8bad3c9ad5e74a0c99dfdaa0 |
| https://github.com/python/cpython/tree/e44cc181f05cbdbb8bad3c9ad5e74a0c99dfdaa0 |
| Merge pull request #145 from encukou/simplify-lazy-imports-c | https://github.com/python/cpython/pull/158282/commits/b09a509f21007615140172fbf9ffafc122c8b1d7 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/python/cpython/commits?author=pablogsal |
| b09a509 | https://github.com/python/cpython/pull/158282/commits/b09a509f21007615140172fbf9ffafc122c8b1d7 |
| https://github.com/python/cpython/tree/b09a509f21007615140172fbf9ffafc122c8b1d7 |
|
| 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 |