Title: bpo-30891: Fix importlib _find_and_load() race condition by vstinner · Pull Request #2646 · python/cpython · GitHub
Open Graph Title: bpo-30891: Fix importlib _find_and_load() race condition by vstinner · Pull Request #2646 · python/cpython
X Title: bpo-30891: Fix importlib _find_and_load() race condition by vstinner · Pull Request #2646 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Rewrite importlib _get_module_lock(): it is now responsible to hold the imp lock directly. _find_and_load() now holds the module lock to check if name is in sys.modules to prevent a race condition
X Description: Rewrite importlib _get_module_lock(): it is now responsible to hold the imp lock directly. _find_and_load() now holds the module lock to check if name is in sys.modules to prevent a race condition
Opengraph URL: https://github.com/python/cpython/pull/2646
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:5e3ffe5d-a85c-fdec-2c81-744284003545 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BCCE:1829DD:24FC85A:33A0D71:6A50C2DC |
| html-safe-nonce | 7db12a5c425b2f1b8ee78f84bc7be8eeb1a32fb1813158cf5850cd08cf4bedbf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0NFOjE4MjlERDoyNEZDODVBOjMzQTBENzE6NkE1MEMyREMiLCJ2aXNpdG9yX2lkIjoiMjA3OTU3ODExNjU5NDkwOTkxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6bd930c6aa53db40560a0b99c29632060ad70fb3e9de785a472d744efb53872c |
| hovercard-subject-tag | pull_request:129717687 |
| 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/2646/commits |
| twitter:image | https://opengraph.githubassets.com/2565736239855127251fe55e285aec91812cda4bccc4ba593f0059b9a977f475/python/cpython/pull/2646 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2565736239855127251fe55e285aec91812cda4bccc4ba593f0059b9a977f475/python/cpython/pull/2646 |
| og:image:alt | Rewrite importlib _get_module_lock(): it is now responsible to hold the imp lock directly. _find_and_load() now holds the module lock to check if name is in sys.modules to prevent a race condition |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width