RE: [Zope] Subclassing from Custom Python Classes

2000-05-24 Thread Chris McDonough
Message- > From: Pete Kazmier [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 24, 2000 8:32 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [Zope] Subclassing from Custom Python Classes > > > Thank you for the useful information!! > > I do h

Re: [Zope] Subclassing from Custom Python Classes

2000-05-24 Thread Pete Kazmier
Thank you for the useful information!! I do have one more question regarding your persistence comments. How does using a temporary name notify the Zope persistence machinery that self.map has changed? Doesn't 'self.map=m' do nothing in Python if one already did a 'm=self.map'? In the end, aren

Re: [Zope] Subclassing from Custom Python Classes

2000-05-24 Thread R. David Murray
On Tue, 23 May 2000, Pete Kazmier wrote: > Zope scheduler that is bug free, I need to write a small python script > that I can place in a cron job to run every ten minutes to call the > query methods of these objects so they update their cache instances. > Is there a link on how to get a regular P

RE: [Zope] Subclassing from Custom Python Classes

2000-05-23 Thread Chris McDonough
> >> You should also note that your subclass must obey the ZODB > >> persistence rules, which basically state that mutable sub-objects > >> should be treated immutably. For example, > >> > >> self.bird='parrot' # OK > >> self.map['bird']='parrot' # NOT OK, will not trigger persistence > >>

[Zope] Subclassing from Custom Python Classes

2000-05-23 Thread Pete Kazmier
I need some guidance or pointers to more information. My Zope journey began last Thursday and I've been glued to zope.org ever since. I'm trying to understand the following paragraph from the Zope Developer's Guide from the section on "Subclassing from Custom Python Classes": >> You should also