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.14242126 |
| Marked as misclassified | No |
| Message-id | <1206709528.41.0.60602428415.issue2502@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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))) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年03月28日 13:05:29 | amaury.forgeotdarc | set | spambayes_score: 0.142421 -> 0.14242126 recipients: + amaury.forgeotdarc, georg.brandl, rhettinger, calvin |
| 2008年03月28日 13:05:28 | amaury.forgeotdarc | set | spambayes_score: 0.142421 -> 0.142421 messageid: <1206709528.41.0.60602428415.issue2502@psf.upfronthosting.co.za> |
| 2008年03月28日 13:05:27 | amaury.forgeotdarc | link | issue2502 messages |
| 2008年03月28日 13:05:27 | amaury.forgeotdarc | create | |