News for hackers. Stuff that matters.
Re:Redesigning Python's named tuples by masklinn on Friday September 01, 2017 @09:38AM (#15148206)
> This API was around for years, with people using tuple indexing either explicitly or through destructuring assignment.

FWIW destructuring assignment uses the iteration protocol[0] not indexing.

[0] which can fallback on indexing if there is no explicit iteration support, IME that tends to be more unhelpful than convenient

Re:Redesigning Python's named tuples by eesmith on Friday September 01, 2017 @10:29AM (#15148572)
Hmm, I think meant to say something like "using either explicit tuple indexing or through destructuring assignment". Words, mixed up, they were. But yes, what I wrote was wrong.