ct is called.
I am wondering if this also answers my question in my very last email titled Re:
[Zope] persistence and dictionaries - new light where I found that anything
called within my manage_edit(self, title, REQUEST=None) method was persisted, but
that if I did the same things in another m
Matt <[EMAIL PROTECTED]> wrote:
>
> Chris, this was my original confusion the two places below where you say
>
> "You can put instances which do not inherit from Persistence.Persistent in
> your database. They just won't "stick". They'll hang around until the
> server is restarted or for
ec 2000, Jonothan Farr wrote:
> > > Maybe I'm mistaken, but it seems like you can put an instance of an
> > object that
> > > doesn't inherit from Persistent into the ZODB just fine, but its
> > contents won't
> > > persist, so you'll always end
: "Matt" <[EMAIL PROTECTED]>
> To: "Jonothan Farr" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, December 08, 2000 2:39 PM
> Subject: Re: [Zope] persistence and dictionaries
>
> > Ok, here are some of the offending bits out of
Jonothan Farr wrote:
> > Maybe I'm mistaken, but it seems like you can put an instance of an
> object that
> > doesn't inherit from Persistent into the ZODB just fine, but its
> contents won't
> > persist, so you'll always end up with a copy of the object
--- Original Message -
From: "Chris McDonough" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 08, 2000 11:57 AM
Subject: Re: [Zope] persistence and dictionaries
> Huh. If they do, it's by chance only. I'd be h
first added
> to the database.
>
> --jfarr
>
> - Original Message -
> From: "Chris McDonough" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, December 08, 2000 11:57 AM
> Subject: Re: [Zope] persis
Chris, this was my original confusion the two places below where you say
"You can put instances which do not inherit from Persistence.Persistent in
your database. They just won't "stick". They'll hang around until the
server is restarted or for an undetermined amount of time during normal
ay, December 08, 2000 2:30 PM
Subject: Re: [Zope] persistence and dictionaries
> Chris, this was my original confusion the two places below where you
say
>
> "You can put instances which do not inherit from Persistence.Persistent in
> your database. They just won't &
> Thanks for the reply, that is really useful. There are a couple of things
> though that still don't add up. Firstly, you say below, as do all the
ZODB
> documents that "Custom" classes can certainly persist, they just need to
mix in
> the "Persistence.Persistent" class as a base class. Well,
Thanks for the reply, that is really useful. There are a couple of things
though that still don't add up. Firstly, you say below, as do all the ZODB
documents that "Custom" classes can certainly persist, they just need to mix in
the "Persistence.Persistent" class as a base class. Well, in my ex
All pickleable Python primitive types (strings, dictionaries, lists, Nones,
integers, floats, longs, etc.) can live in the ZODB. They can persist just
like instances that inherit from the Persistent class.
I think you read a little too much in to the fact that you need to "treat
mutable objects
Hi I am trying to get a handle on how I should handle peristence in my
python products. I have read all the ZODB documents and all the Product
tutorials, which all led me to believe that 1) mutable objects such as
lists and dictionaries are not persistent and that updates to these will
not be imp
13 matches
Mail list logo