Title: gh-102721: Improve coverage of `_collections_abc._CallableGenericAlias` by sobolevn · Pull Request #102722 · python/cpython · GitHub
Open Graph Title: gh-102721: Improve coverage of `_collections_abc._CallableGenericAlias` by sobolevn · Pull Request #102722 · python/cpython
X Title: gh-102721: Improve coverage of `_collections_abc._CallableGenericAlias` by sobolevn · Pull Request #102722 · python/cpython
Description: Two main changes: More pickle tests with different callables Passing things like 0 is not allowed, so I think testing this behaviour won't hurt. The test is quite simple All tests work for both typing.Callable and _collections_abc.Callable. I also went ahead and remove this suspicious if from #102681 (comment) Moreover, all tests pass without it. I cannot find any examples where it is needed. Please, prove me wrong. CC @AlexWaygood Issue: gh-102721
Open Graph Description: Two main changes: More pickle tests with different callables Passing things like 0 is not allowed, so I think testing this behaviour won't hurt. The test is quite simple All tests work for bo...
X Description: Two main changes: More pickle tests with different callables Passing things like 0 is not allowed, so I think testing this behaviour won't hurt. The test is quite simple All tests work fo...
Opengraph URL: https://github.com/python/cpython/pull/102722
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:241920ff-fe02-acba-a679-b92379f89a2e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | AEB4:4D95E:10D3E19:17B1A67:696A2BA8 |
| html-safe-nonce | 530d8349ce774a9579bf81c1954dcc91f35cdcf08bd36495bc8568d36f074a9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUI0OjREOTVFOjEwRDNFMTk6MTdCMUE2Nzo2OTZBMkJBOCIsInZpc2l0b3JfaWQiOiI1NTgxNzQ3ODcwNTQxNDI1NTc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5235c2f5f35cadb8695dbc31502cde7fc5ee13a2ddbb53cfc0adf1c124618cca |
| hovercard-subject-tag | pull_request:1276590769 |
| 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/102722/checks |
| twitter:image | https://avatars.githubusercontent.com/u/4660275?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4660275?s=400&v=4 |
| og:image:alt | Two main changes: More pickle tests with different callables Passing things like 0 is not allowed, so I think testing this behaviour won't hurt. The test is quite simple All tests work for bo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width