[Zope] Re: Saving Pipe3 object

Jim Fulton jim@digicool.com
Fri, 27 Aug 1999 08:25:24 -0400


Alexander Staubo wrote:
> 
> The underscore prefix should be enough: Your variable can be named
> _long_R_Pipe and it won't be pickled.

This is incorrect.

> DC uses the _v_ prefix convention for various stuff, possibly meaning
> "value"... Who knows.

The default __getstate__ method, inherited from Persistent
excludes any attributes with names beginning with '_v_' or '_p_'.
The 'v' stands for volatile.  The prefix '_p_' is reserved for
attributes used by the database.

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.