[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: PEP 354: Enumerations in Python
From:       greg <greg () cosc ! canterbury ! ac ! nz>
Date:       2006-03-01 9:27:47
Message-ID: 46l8ibFbnfgeU3 () individual ! net
[Download RAW message or body]

Paul Rubin wrote:

> Do you anticipate having parameters like socket.AF_INET that are
> currently integers, become enumeration members in future releases?

Since these are derived from values defined
as integers in C, it's probably better to leave
them that way. There may be code that relies
on them being integers or having those integer
values.

--
Greg
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic