Title: gh-94808: Improve coverage of dictresize by tqxia · Pull Request #100619 · python/cpython · GitHub
Open Graph Title: gh-94808: Improve coverage of dictresize by tqxia · Pull Request #100619 · python/cpython
X Title: gh-94808: Improve coverage of dictresize by tqxia · Pull Request #100619 · python/cpython
Description: Try to improve test coverage for Objects/dictobject.c, adding the case "converting a split table into a generic combined table". Code covered: cpython/Objects/dictobject.c Lines 1439 to 1452 in 894f2c3 if (mp->ma_keys->dk_kind == DICT_KEYS_GENERAL) { // split -> generic PyDictKeyEntry *newentries = DK_ENTRIES(mp->ma_keys); for (Py_ssize_t i = 0; i < numentries; i++) { int index = get_index_from_order(mp, i); PyDictUnicodeEntry *ep = &oldentries[index]; assert(oldvalues->values[index] != NULL); newentries[i].me_key = Py_NewRef(ep->me_key); newentries[i].me_hash = unicode_get_hash(ep->me_key); newentries[i].me_value = oldvalues->values[index]; } build_indices_generic(mp->ma_keys, newentries, numentries); } Issue: #94808 Issue: gh-94808
Open Graph Description: Try to improve test coverage for Objects/dictobject.c, adding the case "converting a split table into a generic combined table". Code covered: cpython/Objects/dictobject.c ...
X Description: Try to improve test coverage for Objects/dictobject.c, adding the case "converting a split table into a generic combined table". Code covered: cpython/Objects/dicto...
Opengraph URL: https://github.com/python/cpython/pull/100619
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:1a255d6e-9d67-8f65-1a8b-aff958c53350 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9A70:1E165C:B6C394:F51FA7:696982C9 |
| html-safe-nonce | 7820360325445357dfe18707f009416ead933e1bd70a1019f1333b9420e72cd9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTcwOjFFMTY1QzpCNkMzOTQ6RjUxRkE3OjY5Njk4MkM5IiwidmlzaXRvcl9pZCI6IjMxNzMxNjUzNjUyNTE5MDAxMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 85952b28ae83251dd65a75ea1d54f1a5a48e806ac19481338a6392d9c2b9866b |
| hovercard-subject-tag | pull_request:1180825690 |
| 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/100619/checks |
| twitter:image | https://avatars.githubusercontent.com/u/44689929?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/44689929?s=400&v=4 |
| og:image:alt | Try to improve test coverage for Objects/dictobject.c, adding the case "converting a split table into a generic combined table". Code covered: cpython/Objects/dictobject.c ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| 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 | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width