[Python-ideas] Anonymous namedtuples

Paul Moore p.f.moore at gmail.com
Tue Apr 19 11:30:26 EDT 2016


On 19 April 2016 at 15:51, Joseph Martinot-Lagarde
<contrebasse at gmail.com> wrote:
>> Going beyond that, any additional types
>> probably need to justify themselves a bit better - and at that point
>> the usual "publish on PyPI as a standalone module and see how useful
>> they turn out to be" suggestion probably applies.
>
> The core of my proposal depends on modifications in the langage itself, it
> needs either adding a new syntax, either keeping the order of keywords
> arguments. Right now I don't see how it could work as a standalone module,
> but I'll think about it.

I was referring to randon832's suggested variants on SimpleNamespace.
As you say, your proposal is basically a language change and you're
completely right to assume that needs to be implemented in the core.

Sorry if I wasn't clear enough.
Paul


More information about the Python-ideas mailing list