Message362810
I had just come to a different conclusion. Maybe ChainMap should just not grow `|` and `|=` operators? That way there can be no confusion. `dict() | ChainMap()` and `ChainMap() | dict()` will fail because ChainMap doesn't inherit from dict. (Note that in your last message, `d1 |= cm2` will fail for this reason. You can of course fix that with `d1 |= dict(cm2)`, although IIUC there's no reason one of the maps couldn't be some other [Mutable]Mapping.) | |
| Date | User | Action | Args | | 2020-02-27 15:43:45 | gvanrossum | set | recipients: + gvanrossum, rhettinger, mark.dickinson, scoder, serhiy.storchaka, steve.dower, josh.r, Aaron Hall, slam, xtreak, brandtbucher | | 2020-02-27 15:43:45 | gvanrossum | link | issue36144 messages | | 2020-02-27 15:43:45 | gvanrossum | create | | |