[Tutor] Pickle/Shelve

Bob Gailer bgailer@alum.rpi.edu
Thu Apr 3 11:49:01 2003

Content-Type: text/plain; x-avg-checked=avg-ok-3F673C21; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit

I'm running into problems shelving objects that contain references to other 
objects that contain unPickleable items.

Is there a way around this other than writing __getstate__ methods for each 
object? Is there a switch that says "ignore item if unPickleable", or a way 
to subclass shelve or pickle to accomplish this?

Bob Gailer
PLEASE NOTE NEW EMAIL ADDRESS bgailer@alum.rpi.edu
303 442 2625

Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-3F673C21
Content-Disposition: inline

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.467 / Virus Database: 266 - Release Date: 4/1/2003