Title: [3.14] gh-142651: use `NonCallableMock._lock` for thread safety of `call_count` (GH-142922) by miss-islington · Pull Request #145739 · python/cpython · GitHub
Open Graph Title: [3.14] gh-142651: use `NonCallableMock._lock` for thread safety of `call_count` (GH-142922) by miss-islington · Pull Request #145739 · python/cpython
X Title: [3.14] gh-142651: use `NonCallableMock._lock` for thread safety of `call_count` (GH-142922) by miss-islington · Pull Request #145739 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: (cherry picked from commit 728e4a0) Co-authored-by: Kumar Aditya kumaraditya@python.org Issue: ThreadingMock.call_count is not thread safe #142651
X Description: (cherry picked from commit 728e4a0) Co-authored-by: Kumar Aditya kumaraditya@python.org Issue: ThreadingMock.call_count is not thread safe #142651
Opengraph URL: https://github.com/python/cpython/pull/145739
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:9f804c50-17e1-cc76-a10d-2484aabaeaac |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CE0:185C34:32398F:4400DD:6A52ED6B |
| html-safe-nonce | 9a498bfffc7a70ee316c814268ae217b4f552255b0d6cdecd8873e55d0d5801c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0UwOjE4NUMzNDozMjM5OEY6NDQwMEREOjZBNTJFRDZCIiwidmlzaXRvcl9pZCI6Ijg2NTc0MDE5MTU3NTQzNDM3ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ebefd1e852c2ab2e25c764b65330c32117724636f3b28ca6246401a5f88aab79 |
| hovercard-subject-tag | pull_request:3378341675 |
| 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/145739/commits |
| twitter:image | https://opengraph.githubassets.com/0a330be88dd04f4c2d01aa88a88cec14e1391966b7f19b4fd9399453dbf78174/python/cpython/pull/145739 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a330be88dd04f4c2d01aa88a88cec14e1391966b7f19b4fd9399453dbf78174/python/cpython/pull/145739 |
| og:image:alt | (cherry picked from commit 728e4a0) Co-authored-by: Kumar Aditya kumaraditya@python.org Issue: ThreadingMock.call_count is not thread safe #142651 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miss-islington |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width