[Zope-CMF] I gotta ask before I change this, I think.

Lennart Regebro regebro at gmail.com
Thu Apr 6 13:41:26 EDT 2006


Would anybody be terribly upset if I changes these snippets of code in
GenericSetup:

CONVERTER, DEFAULT, KEY = range(3)
BASE, EXTENSION = range(1, 3)

To

CONVERTER, DEFAULT, KEY = 0, 1, 2
BASE, EXTENSION = 1, 2

Which are not only a third as slow (yes, I tested, ;) ) but also a lot
less confusing?

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope-CMF mailing list