Message398033
For __or__ we need to copy the content of both mapping to the resulting mapping in any case. We can implement it as {**self, **other}. We should not use the copy() method because it is not a part of the Mapping interface.
For __eq__, no copying is needed if we just re-implement Mapping.__eq__ (with special cases for few known types for performance). |
|
Date |
User |
Action |
Args |
2021-07-23 07:13:58 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, rhettinger, ncoghlan, brandtbucher |
2021-07-23 07:13:58 | serhiy.storchaka | set | messageid: <1627024438.18.0.9655724109.issue43838@roundup.psfhosted.org> |
2021-07-23 07:13:58 | serhiy.storchaka | link | issue43838 messages |
2021-07-23 07:13:58 | serhiy.storchaka | create | |
|