[Zope-dev] SVN: Zope/trunk/ Cloned ``ZopeVocabularyRegistry`` from ``zope.app.schema``.

Tres Seaver tseaver at palladion.com
Fri Sep 18 18:51:48 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hanno Schlichting wrote:

> Wouldn't it make sense to move the VocabularyRegistry class into
> zope.schema instead of forking it?

Nope -- the implementation uses zope.component, which would create a
cycle.  The fork is really fine here:  it is truly only six lines of
code (plus tests, docstrings, module headers, etc.).  My tests are
clearer and more comprehensive, too. :)


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKtA8E+gerLs4ltQ4RAmSeAJ9Nd2FrgfS3t1OAkeA/KaOW4/IV+ACfRTXQ
YDYMnUC9s2MS5CIs5qt3wb4=
=2hPX
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list