[Python-ideas] Anonymous namedtuples

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


On 19 April 2016 at 11:46, Chris Angelico <rosuav at gmail.com> wrote:
>> The issue may simply be that SimpleNamespace isn't as discoverable as
>> it should be?
>
> That's entirely possible. For the situations where order is
> insignificant and unpacking is unnecessary, a SimpleNamespace would be
> perfect, if people knew about it. Probably not worth moving the actual
> class, but a quick little docs link might help.

http://bugs.python.org/issue26805


More information about the Python-ideas mailing list