13 Oct 08:17
Naming of grok.provides
From: Thomas Lotze <tl <at> gocept.com>
Subject: Naming of grok.provides
Newsgroups: gmane.comp.web.zope.grok.devel
Date: 2008-10-13 06:19:40 GMT
Subject: Naming of grok.provides
Newsgroups: gmane.comp.web.zope.grok.devel
Date: 2008-10-13 06:19:40 GMT
We recently noticed that the grok.provides directive is not well-named: The documentation states that "if the local utility implements more than one interface or if the implemented interface cannot be determined, grok.provides() is required to disambiguate for what interface the local utility will be registered." OTOH, in zope.interface terminology, the term "provides" has a clear meaning in contrast to "implements": if a class, for instance, implements a certain interface, its instances are said to provide it. We feel that something should be done about this contradiction of terminologies as it confuses not only newcomers to Grok. Beyond a documentation improvement, what would be an acceptable fix given that this directive is rather close to Grok's core? Thomas -- -- Thomas Lotze · tl <at> gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development
_______________________________________________ Grok-dev mailing list Grok-dev <at> zope.org http://mail.zope.org/mailman/listinfo/grok-dev(Continue reading)
The server fails to start because it found that I am importing pyparsing
in one of my files. Now of course pyparsing is in my default eggs
directory.
Traceback is:
File
"/home/tim/.buildout/eggs/martian-0.11-py2.5.egg/martian/scan.py", line
191, in resolve
RSS Feed