Title: gh-118761: Improve import time by lazy import of `warnings` by donbarbos · Pull Request #129765 · python/cpython · GitHub
Open Graph Title: gh-118761: Improve import time by lazy import of `warnings` by donbarbos · Pull Request #129765 · python/cpython
X Title: gh-118761: Improve import time by lazy import of `warnings` by donbarbos · Pull Request #129765 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Improve import time modules by lazy import warnings. Remove unused warnings and struct from Lib/ctypes/_layout.py. My hyperfine benchmarks: First experiment in Main branch ➜ cpython git:(43e0240...
X Description: Improve import time modules by lazy import warnings. Remove unused warnings and struct from Lib/ctypes/_layout.py. My hyperfine benchmarks: First experiment in Main branch ➜ cpython git:(43e0240...
Opengraph URL: https://github.com/python/cpython/pull/129765
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:e50d7464-1ffc-ee55-0f43-1d0cc0994eff |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 93A4:366DBA:10BAB9C:165C1BC:696993EA |
| html-safe-nonce | cc871e219663b290041a9e53cd85d18ce5750a0b21700ce1d82cb9a464abe1ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0E0OjM2NkRCQToxMEJBQjlDOjE2NUMxQkM6Njk2OTkzRUEiLCJ2aXNpdG9yX2lkIjoiMzMwNzA3NjkzOTM5MzExMTAxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96672d962048e19c4cf79d6cc32d547fdb992aad81a58e3944a540cd1527e4a8 |
| hovercard-subject-tag | pull_request:2321324391 |
| 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/129765/commits |
| twitter:image | https://opengraph.githubassets.com/547989060b4db0a8ec7970bc33283816a62db316e4974584548bc8bb0d9f7b38/python/cpython/pull/129765 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/547989060b4db0a8ec7970bc33283816a62db316e4974584548bc8bb0d9f7b38/python/cpython/pull/129765 |
| og:image:alt | Improve import time modules by lazy import warnings. Remove unused warnings and struct from Lib/ctypes/_layout.py. My hyperfine benchmarks: First experiment in Main branch ➜ cpython git:(43e0240... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | donbarbos |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width