[docs] [issue24842] Mention SimpleNamespace in namedtuple docs

Akira Li report at bugs.python.org
Sun Aug 16 17:07:07 CEST 2015


Akira Li added the comment:

People do have problems that SimpleNamespace can solve:

- Why Python does not support record type i.e. mutable namedtuple [1]
- Does Python have anonymous classes? [2]
- How to create inline objects with properties in Python? [3]
- python create object and add attributes to it [4]

[1] http://stackoverflow.com/questions/5227839/why-python-does-not-support-record-type-i-e-mutable-namedtuple
[2] http://stackoverflow.com/questions/1123000/does-python-have-anonymous-classes
[3] http://stackoverflow.com/questions/1528932/how-to-create-inline-objects-with-properties-in-python
[4] http://stackoverflow.com/questions/2827623/python-create-object-and-add-attributes-to-it

----------
nosy: +akira

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24842>
_______________________________________


More information about the docs mailing list