pickling types from pywintypes

Cliff Wells logiplexsoftware at earthlink.net
Tue Oct 2 22:34:10 CEST 2001


On Tuesday 02 October 2001 13:22, John S. Yates, Jr. wrote:

> dopy is layered on [c]pickle.  The problem I am having
> is that the pywintypes do not seem to be pickleable:

This seems to be a common problem with extensions (wxPython, PIL).

> Is there a work around?

It requires a bit more work, but I usually build a dictionary of attributes 
*about* the unpicklable object and use those to reconstruct it later.

-- 
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308




More information about the Python-list mailing list