[issue24842] Mention SimpleNamespace in namedtuple docs

2015-08-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 678d93c273de by Raymond Hettinger in branch 'default': Issue #24842: Cross-reference types.SimpleNamespace from the namedtuple docs https://hg.python.org/cpython/rev/678d93c273de -- nosy: +python-dev ___

[issue24842] Mention SimpleNamespace in namedtuple docs

2015-08-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24842] Mention SimpleNamespace in namedtuple docs

2015-08-16 Thread Akira Li
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 attribu

[issue24842] Mention SimpleNamespace in namedtuple docs

2015-08-11 Thread R. David Murray
R. David Murray added the comment: I use SimpleNamespace in just about every project I'm currently working on. I would *not* say that their uptake is "nearly zero" :) And yes, I wouldn't be aware of it if I hadn't been following python-dev when it was introduced, and had (before it was introd

[issue24842] Mention SimpleNamespace in namedtuple docs

2015-08-10 Thread Stefan Behnel
Stefan Behnel added the comment: > Also, the uptake for SNs are nearly zero. That suggests to me that pointing users to it could help. It's currently hidden in the types module and if I didn't know it existed, I could end up looking in collections, and failing to find it there, write my own.

[issue24842] Mention SimpleNamespace in namedtuple docs

2015-08-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: The NT docs are already very long and I don't think an additional crossref is beneficial (NTs are closer to tuples and SNs are closer to dicts). Also, the uptake for SNs are nearly zero. -- ___ Python tracker

[issue24842] Mention SimpleNamespace in namedtuple docs

2015-08-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: docs@python -> rhettinger nosy: +rhettinger priority: normal -> low ___ Python tracker ___

[issue24842] Mention SimpleNamespace in namedtuple docs

2015-08-10 Thread Chris Rebert
New submission from Chris Rebert: There is a cross-reference to namedtuple in SimpleNamespace's docs, but not vice-versa, despite these types being fairly similar. -- assignee: docs@python components: Documentation messages: 248389 nosy: cvrebert, docs@python priority: normal severity: