PEP 354: Enumerations in Python

Ben Finney bignose+hates-spam at benfinney.id.au
Tue Feb 28 19:59:55 EST 2006


Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:
> Do you anticipate having parameters like socket.AF_INET that are
> currently integers, become enumeration members in future releases?

That, and the 're' flags referred to earlier, seems to be a good
application of enumerations.

-- 
 \     "Jealousy: The theory that some other fellow has just as little |
  `\                                      taste."  -- Henry L. Mencken |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list