Rémi Lapeyre <remi.lape...@henki.fr> added the comment: Hi @wrmsr, this happens because the constructor for `collections.defaultdict` differs from the one of `dict`.
I think the argument that collections.defaultdict is in the stdlib and should be supported is right, the changes in PR #11361 should do what you want. ---------- nosy: +remi.lapeyre _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35540> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com