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-141510 Update mapping methods in abstract.c to accept frozendict by da-woods · Pull Request #150692 · python/cpython Conversation
|
|
I think this is probably OK to attach to the "frozendict" implementation issue, but I can change it if not (Edit: although I originally linked it to a previous proposal...) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please update test_mapping_keys_valuesitems() of Lib/test/test_capi/test_abstract.py to test frozendict.
Sadly, PyMapping_GetOptionalItem() doesn't seem to be tested by test_capi so far. But that can be done in another PR.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for added tests, they seem to cover well your C changes.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
test_abc hangs in Parallel Tests: that's the known issue #151593. Another issue is that installing dependencies took 33 minutes. I re-run the job. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
GH-151704 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…151704) gh-141510 Add frozendict fast paths to abstract.c (GH-150692) Add frozendict to the fast paths of PyMapping_GetOptionalItem(), PyMapping_Keys(), PyMapping_Values(), and PyMapping_Items(). (cherry picked from commit a5568d0) Co-authored-by: da-woods <[email protected]> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Add frozendict to the fast paths of PyMapping_GetOptionalItem(), PyMapping_Keys(), PyMapping_Values(), and PyMapping_Items(). Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
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.