Title: gh-118761: Always lazy import `warnings` in `threading` by hukkin · Pull Request #129428 · python/cpython · GitHub
Open Graph Title: gh-118761: Always lazy import `warnings` in `threading` by hukkin · Pull Request #129428 · python/cpython
X Title: gh-118761: Always lazy import `warnings` in `threading` by hukkin · Pull Request #129428 · python/cpython
Description: threading seems to lazy import warnings in 8 locations, but also has a non-lazy import used in one location, rendering all the lazy imports useless. This PR makes the one remaining non-lazy import also lazy. Issue: gh-118761
Open Graph Description: threading seems to lazy import warnings in 8 locations, but also has a non-lazy import used in one location, rendering all the lazy imports useless. This PR makes the one remaining non-lazy import ...
X Description: threading seems to lazy import warnings in 8 locations, but also has a non-lazy import used in one location, rendering all the lazy imports useless. This PR makes the one remaining non-lazy import ...
Opengraph URL: https://github.com/python/cpython/pull/129428
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:117f7583-7dab-7d33-86dc-de0bf4662aaa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9310:1F92AF:15B6F3:1CCF1C:6969BD03 |
| html-safe-nonce | 363797e16b9a39bc2f0e9d52b29078c6915af96b407c487ace6ae7f41037e47a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzEwOjFGOTJBRjoxNUI2RjM6MUNDRjFDOjY5NjlCRDAzIiwidmlzaXRvcl9pZCI6IjM3Nzk2ODE4MTc2NTY0MDkzNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6bcbfa2e1558d329f4be54b12beacad9d11451b2ab8e385e2791f4c63cdfebc9 |
| hovercard-subject-tag | pull_request:2304037559 |
| 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/129428/files |
| twitter:image | https://avatars.githubusercontent.com/u/3275109?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3275109?s=400&v=4 |
| og:image:alt | threading seems to lazy import warnings in 8 locations, but also has a non-lazy import used in one location, rendering all the lazy imports useless. This PR makes the one remaining non-lazy import ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width