[issue22196] namedtuple documentation could/should mention the new Enum type

2014-10-28 Thread Karmen Dykstra
Karmen Dykstra added the comment: Updated documentation with Enum example. -- keywords: +patch nosy: +ezio.melotti, kdykstra Added file: http://bugs.python.org/file37051/mywork.patch ___ Python tracker rep...@bugs.python.org

[issue22196] namedtuple documentation could/should mention the new Enum type

2014-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e3521e79d93 by Ezio Melotti in branch 'default': #22196: link to Enum in the nametuple documentation. Patch by Karmen Dykstra. https://hg.python.org/cpython/rev/2e3521e79d93 -- nosy: +python-dev ___

[issue22196] namedtuple documentation could/should mention the new Enum type

2014-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 701529f8ca93 by Ezio Melotti in branch '3.4': #22196: link to Enum in the nametuple documentation. Patch by Karmen Dykstra. https://hg.python.org/cpython/rev/701529f8ca93 -- ___ Python tracker

[issue22196] namedtuple documentation could/should mention the new Enum type

2014-10-28 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: rhettinger - ezio.melotti resolution: - fixed stage: - resolved status: open - closed type: - enhancement versions: +Python 3.4, Python 3.5 ___ Python tracker

[issue22196] namedtuple documentation could/should mention the new Enum type

2014-08-15 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger nosy: +rhettinger priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22196

[issue22196] namedtuple documentation could/should mention the new Enum type

2014-08-14 Thread Lele Gaifax
New submission from Lele Gaifax: The documentation of namedtuple, near the end, talks about implementing enumerated constants and says “Enumerated constants can be implemented with named tuples, but it is simpler and more efficient to use a simple class declaration“. Maybe it should mention