[Python-ideas] namedtuple redesign goals
ethan at stoneleaf.us
Mon Jul 24 14:49:13 EDT 2017
On 07/24/2017 09:49 AM, Michel Desmoulin wrote:
> You are assuming a namedtuple litteral would mean collections.namedtuple
> would lose the type hability. It's not the case. The litterals can be
> complement, not a remplacement.
> Accelerating namedtuple can be made by rewritting it in C. The litteral
> namedtuple is not necessary for that.
Ah, that makes sense.
Personally, though, I'm not excited about another namedtuple variant.
More information about the Python-ideas