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 — bpo-43838: Use a copy to delegate `types.MappingProxyType` operators by brandtbucher · Pull Request #27300 · python/cpython Conversation
|
|
Closing and reopening to trigger CI. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note @ncoghlan's comment on the issue:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@brandtbucher pointed out on the ticket that my alternative proposal was based on a flawed assumption: that the dict method implementations would play well with others even without the coercion dance. They don't, they rely on the coercion dance and the fact that every other mapping type plays well with builtin dicts. So it's either make a copy of the underlying object and expose that instead, or reimplement generic union and comparison operations that work for any mapping type. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR is stale because it has been open for 30 days with no activity. |
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.