On Monday 03 October 2005 02:05, baiju m wrote:
Should I give __docformat___ = 'restructuredtext'
in newly writing codes ?
Yes, the default is still structured text until we feel comfortable that
nearly all docstrings have been converted, which will probably be never. ;-)
BTW, I think an FAQ
On Friday 30 September 2005 15:52, Duncan McGreggor wrote:
since apply() does expect the rhs of the parameter to be a sequence.
With this change, my code now works (no errors, anyway), but I wanted
to see if this was a misunderstanding on my part or a documentation
typo...
If the above
On Monday 03 October 2005 04:09, Johan Carlsson wrote:
PS. The reason I want to change pasteable is that it
raises an exception if the paste action is unknown.
I'm implementing a clone action as an extra variation
of copy and it works in my classes but if I point
to a stock object (with
I'm writing an application that have an 'authors' folder and a 'book'
folder.
A book should have one or more authors.
I implemented author as a Choice field in every book, and I'm trying a
vocabulary to bring me the list of authors to choose from.
I'm stuck 'cause I can't make out how to obtain
On Tuesday 18 October 2005 08:32, [EMAIL PROTECTED] wrote:
I'm stuck 'cause I can't make out how to obtain the list of objects,
contained in the authors folder, from the vocabulary context.
The easiest would be to get the site:
site = zope.component.hooks.getSite()
This should be main, so
On Oct 18, 2005, at 3:47 PM, Tim Penhey wrote:
Hi All,
I am using Kubuntu 5.10 (Breezy Badger) and after failing to use the
pre-packaged zope3, I tried to download and install the one from
zope.org.
Using Python 2.4.2 and gcc 4.0.2.
Since I don't have python2.3 installed (and env 'aint
In the Zope 3 book the method is like this:
def makeTestObject(self):
raise NotImplemented()
...
Looking in some real zope3 tests I saw another version of the method:
def makeTestObject(self):
raise NotImplementedError()
NotImplemented is a singleton object, introduced in 2.1 (I