Title: bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function by idanw206 · Pull Request #23613 · python/cpython · GitHub
Open Graph Title: bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function by idanw206 · Pull Request #23613 · python/cpython
X Title: bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function by idanw206 · Pull Request #23613 · python/cpython
Description: https://bugs.python.org/issue42532 If an object has logic in its __bool__ function, it'll be called here, but it shouldn't be called.
Open Graph Description: https://bugs.python.org/issue42532 If an object has logic in its __bool__ function, it'll be called here, but it shouldn't be called.
X Description: https://bugs.python.org/issue42532 If an object has logic in its __bool__ function, it'll be called here, but it shouldn't be called.
Opengraph URL: https://github.com/python/cpython/pull/23613
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e9b4cc8d-4412-edb9-5fa7-ede23c571882 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB94:1E4FEF:82150F:A74C21:696AF00B |
| html-safe-nonce | da3bb5d1602c4a605c7595fe15e2d10e3206ed0ce2022eccbc9135b677f1f1ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjk0OjFFNEZFRjo4MjE1MEY6QTc0QzIxOjY5NkFGMDBCIiwidmlzaXRvcl9pZCI6IjgxMzQzOTk4MDEwMzAyNzUwODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5193877d4b42c05dc3cc7953a04a8929d1fa0233e27d3f5af6ab0359c4966784 |
| hovercard-subject-tag | pull_request:530816932 |
| 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/23613/files |
| twitter:image | https://avatars.githubusercontent.com/u/31290383?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31290383?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue42532 If an object has logic in its __bool__ function, it'll be called here, but it shouldn't be called. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width