Re: [Python-ideas] namedtuple redesign goals

2017-07-25 Thread Stephen J. Turnbull
Michel Desmoulin writes: > 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. Unlikely to fly in Python. We really don't like things that have "obvious semantics"

Re: [Python-ideas] namedtuple redesign goals

2017-07-24 Thread Michel Desmoulin
Le 24/07/2017 à 13:45, Ethan Furman a écrit : > [redirecting back to list] > > On 07/24/2017 04:19 AM, Michel Desmoulin wrote: >> Le 24/07/2017 à 13:02, Ethan Furman a écrit : >>> On 07/23/2017 10:47 AM, Michel Desmoulin wrote: > I'm not sure why everybody have such a grip on the type.

[Python-ideas] namedtuple redesign goals

2017-07-24 Thread Ethan Furman
On 07/23/2017 10:47 AM, Michel Desmoulin wrote: > I'm not sure why everybody have such a grip on the type. If I understand the goal of "a new namedtuple" correctly, it is not to come up with yet another namedtuple type -- it is to make the existing collections.namedtuple a faster experience,