Title: gh-151510: Fix __lazy_import__ without frame by aisk · Pull Request #151511 · python/cpython · GitHub
Open Graph Title: gh-151510: Fix __lazy_import__ without frame by aisk · Pull Request #151511 · python/cpython
X Title: gh-151510: Fix __lazy_import__ without frame by aisk · Pull Request #151511 · python/cpython
Description: I did not add a test because the fix is a straightforward, and exercising this would require extra _testcapi scaffolding to call __lazy_import__ without a Python frame. Test added. Issue: gh-151510
Open Graph Description: I did not add a test because the fix is a straightforward, and exercising this would require extra _testcapi scaffolding to call __lazy_import__ without a Python frame. Test added. Issue: gh-151510
X Description: I did not add a test because the fix is a straightforward, and exercising this would require extra _testcapi scaffolding to call __lazy_import__ without a Python frame. Test added. Issue: gh-151510
Opengraph URL: https://github.com/python/cpython/pull/151511
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:935efcf4-f187-eb0e-5d2b-ed3f068514fe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 88A0:334ED5:4F0A56:6A3408:6A527AF5 |
| html-safe-nonce | 278c46088fb531eb5b68cd16e74dc8a86171eb3f68faa68937208fa9aaf0354c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEEwOjMzNEVENTo0RjBBNTY6NkEzNDA4OjZBNTI3QUY1IiwidmlzaXRvcl9pZCI6IjQ1MzMxMjY1NDU3NjY3NzU1NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 37086a062aa00fd7e7d5b87f2489fd810c2a1ff0912735fcb30bed35124ad366 |
| hovercard-subject-tag | pull_request:3869077483 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/151511/files |
| twitter:image | https://avatars.githubusercontent.com/u/699636?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/699636?s=400&v=4 |
| og:image:alt | I did not add a test because the fix is a straightforward, and exercising this would require extra _testcapi scaffolding to call __lazy_import__ without a Python frame. Test added. Issue: gh-151510 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width