GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — gh-94808: Improve coverage of dictresize by tqxia · Pull Request #100619 · python/cpython Conversation
|
| 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
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.