Title: [3.6] bpo-30891: Fix importlib _find_and_load() race condition (#2646) by vstinner · Pull Request #2651 · python/cpython · GitHub
Open Graph Title: [3.6] bpo-30891: Fix importlib _find_and_load() race condition (#2646) by vstinner · Pull Request #2651 · python/cpython
X Title: [3.6] bpo-30891: Fix importlib _find_and_load() race condition (#2646) by vstinner · Pull Request #2651 · 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/2651
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:6fba3ebf-9648-af94-7166-744f7661f5ac |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B8C4:3A68A9:40F0D01:5A774C4:6A50C35E |
| html-safe-nonce | b90cb6a2b013ca581b7f4797dac3ce925765efb0a996630abee7de79673796a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEM0OjNBNjhBOTo0MEYwRDAxOjVBNzc0QzQ6NkE1MEMzNUUiLCJ2aXNpdG9yX2lkIjoiODA0MjI2MzIzNDg5ODYwODk5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2ab36562befe2012ec523fac40d5f37e273bbc847b6466871f939c859094985a |
| hovercard-subject-tag | pull_request:129771910 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/2651/checks |
| twitter:image | https://opengraph.githubassets.com/9a500e203548a44b42e8ced80ca029e894177f9785b927dbd358fc720a3124e9/python/cpython/pull/2651 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9a500e203548a44b42e8ced80ca029e894177f9785b927dbd358fc720a3124e9/python/cpython/pull/2651 |
| 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