[Zope-dev] Constant values defined in interfaces

Gary Poster gary.poster at gmail.com
Fri Apr 3 20:13:31 EDT 2009


On Apr 3, 2009, at 7:21 PM, Wichert Akkerman wrote:
> This looks like a poor man's enum. I'ld prefer to have a proper enum
> like thing.

Seems a little different to me.

For what it is worth, though, if you do want an enum in zope.schema,  
Canonical has lazr.enum: http://pypi.python.org/pypi/lazr.enum .

Gary



More information about the Zope-Dev mailing list