[Zope-dev] Python class and ZClass

2000-08-16 Thread Vincent
Hi, I would like to subclass a Python class with a ZClass. I mean that my DTML document will declare ZClass and I would like to be able to access the method declared in the python class (parent of the ZClass). Does anybody knows how to do that ? PS : I read a paper call "SubClassing from

Re: [Zope-dev] hmmm.. wierd permission issues with getPersistentItemIDs()...

2000-08-16 Thread Steve Spicklemire
Hi Steve, Thanks for the reply. Of course as soon as I reported this, I went away for a couple days and I haven't been able to check the list. It appears that the problem is that the BTreeItems object returned by getPersistentObjectIDs isn't currently allowed as an argument of 'in' by itself

[Zope-dev] Caching problems

2000-08-16 Thread Bob Pepin
Hi, I have a problem with a class I wrote where I have a list as an attribute of the class. When I append something to that list, it stays there at first, but only until I restart Zope. It disappears (==is set to the value I assigned to it in __init__) and reappears as well when I hit reload a

[Zope-dev] Funny bug in Zope?

2000-08-16 Thread Erik Enge
I'm not quite sure if this is already reported or not, so I won't give much information on it (I've looked for something similar, but I haven't found it). I'm runnig Zope 2.2.0 under Linux. I have this product I've made myself - called TravelAgent. I add an instance of it to the Zope

Re: [Zope-dev] Caching problems

2000-08-16 Thread Carlos Neves
You directly change a nonpersistence participant object. As stated in http://www.python.org/workshops/2000-01/proceedings/papers/fulton/zodb3.html : quote All sub-objects of persistent objects must be persistent or immutable. This rule is necessary because, without it, the persistence