Message366451
> I would prefer that SimpleNamespace remains as simple as it is
This doesn't affect the simplicity of the current API at all. If you don't need the feature, you won't even notice the extension.
> If you want to add the mapping protocol, I suggest you to create
> your own subclass and add the methods that you want
I do that for myself. However, users would greatly benefit from having this an option.
We don't ask users to write their own defaultdicts from scratch even though that is simple dict subclass. Providing this tool would instantly benefit a broad class of json users. |
|
Date |
User |
Action |
Args |
2020-04-14 21:40:54 | rhettinger | set | recipients:
+ rhettinger, vstinner |
2020-04-14 21:40:54 | rhettinger | set | messageid: <1586900454.72.0.325069886118.issue40284@roundup.psfhosted.org> |
2020-04-14 21:40:54 | rhettinger | link | issue40284 messages |
2020-04-14 21:40:54 | rhettinger | create | |
|