
Aug. 11, 2020
10:42 p.m.
On Fri, 17 Jul 2020 at 20:58, Christopher Barker <pythonchb@gmail.com> wrote:
So what would the “key object” be I the proposed case:
d2[a=1, b=2]
A namedtuple? Or namedtuple-like object?
This was already discussed in PEP-472 as the "namedtuple" strategy, but among the various negative points were the relative lack of maturity of the namedtuple and the _n magic field that we assigned to it. I kind of feel they are still relevant, but I might be wrong. The PEP is 5 years old. -- Kind regards, Stefano Borini