On Jul 18, 2006, at 6:34 AM, Philipp von Weitershausen wrote:
Jim Fulton wrote:
Jim Fulton wrote:
-=-
Modified: Zope3/branches/3.3/doc/CHANGES.txt
===================================================================
--- Zope3/branches/3.3/doc/CHANGES.txt 2006-07-17 19:24:19 UTC
(rev 69162)
+++ Zope3/branches/3.3/doc/CHANGES.txt 2006-07-17 19:26:12 UTC
(rev 69163)
@@ -10,6 +10,10 @@
Bugfixes
+ - Fixed issue 604, Mutable schemas were accidentally
included in
+ the 3.2 release even though they weren't ready and didn't
+ work. They are not included in the 3.3 release.
+
I see you've removed the zope.app.schema package from the release. I
don't think we can do that. The vocabulary registry that looks up
vocabularies as utilities is located in there
(zope.app.schema.vocabulary). It's a vital part for Zope 3.
Hm. Why? I don't really want something that is just an alternate
spelling for getUtility? Does it provide any value beside looking up
a utility?
Say you have a schema with a Choice field that refers to a vocabulary.
The field will use the vocabulary registry to look up the vocabulary
(because zope.schema doesn't [want to] know about zope.component). You
can plug in any vocabulary registry into zope.schema you like,
zope.app.schema happens to plug in one that dispatches to a
getUtility call.
Perhaps it might make sense to make zope.schema aware of
zope.component,
at least optionally. The original author of vocabularies (I think
it was
Gary?) didn't intend it to be that way, though.
OK, let's leave it for now then.
Jim
--
Jim Fulton mailto:[EMAIL PROTECTED] Python
Powered!
CTO (540) 361-1714
http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com