June 25, 2020
5:05 a.m.
On 25/06/20 6:36 am, Brandt Bucher wrote:
Another option I've considered is using the `keys` method, since most non-dict mappings would get this called anyways for patterns with `**rest`.
All the more reason why we should allow the implementation some flexibility. ;)
My concern was only that it might be using some private feature of collections.defaultdict to get the specified behaviour. But if it's only using the standard mapping protocol, I don't think it matters exactly how it's using it. -- Greg