This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, calvin, georg.brandl, rhettinger
Date 2008-03-28.13:05:26
SpamBayes Score 0.142421
Marked as misclassified No
Message-id <>
Raymond, is this kind of recipes worth adding to the 'collections' module?

Maybe with the following form:

def enum(*valuenames):
     return namedtuple('Enum', valuenames)(*range(len(valuenames)))
Date User Action Args
2008-03-28 13:05:29amaury.forgeotdarcsetspambayes_score: 0.142421 -> 0.142421
recipients: + amaury.forgeotdarc, georg.brandl, rhettinger, calvin
2008-03-28 13:05:28amaury.forgeotdarcsetspambayes_score: 0.142421 -> 0.142421
messageid: <>
2008-03-28 13:05:27amaury.forgeotdarclinkissue2502 messages
2008-03-28 13:05:27amaury.forgeotdarccreate