[issue38420] defaultdict does not support parametric lambda

Steven D'Aprano report at bugs.python.org
Wed Oct 9 04:42:27 EDT 2019


Steven D'Aprano <steve+python at pearwood.info> added the comment:

All versions below 3.9 are in feature freeze, so they cannot get new features.

This requested feature is already supported by subclassing ``dict`` and giving it a ``__missing__`` method. See issue #38315

----------
nosy: +steven.daprano
resolution:  -> rejected
stage:  -> resolved
status: open -> closed
versions:  -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38420>
_______________________________________


More information about the Python-bugs-list mailing list