Mark Amery <markam...@btinternet.com> added the comment:
I'm aware of __missing__. However, I don't think its existence is by itself a knockdown argument against doing this. __missing__ also fulfils the need satisfied by defaultdict, yet Python still has both - and the latter is almost always more convenient to use when it's possible to do so. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38315> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com