Re: [python-win32] Python 3 --> Can't pickle

2013-04-18 Thread Roger Upole
The pickle module is looking at the name of the class, and verifying that there's a module.class that matches. However, our subclass of datetime.datetime is registered in pywintypes' dict as TimeType instead. As a workaround, try pywintypes.datetime = pywintypes.TimeType Roger "Vernon D.

Re: [python-win32] Python 3 --> Can't pickle

2013-04-18 Thread Tim Golden
On 18/04/2013 12:09, Vernon D. Cole wrote: > Help me, Obiwan Kanobi... > > I have been tracking this one down, for two days, and have cleaned by my > data conversion routines and the documentation for them as a result. but > I can't determine the "right" way to fix this. > > This works fine in Py

[python-win32] Python 3 --> Can't pickle

2013-04-18 Thread Vernon D. Cole
Help me, Obiwan Kanobi... I have been tracking this one down, for two days, and have cleaned by my data conversion routines and the documentation for them as a result. but I can't determine the "right" way to fix this. This works fine in Python 2, but in Python 3, the class of a datetime retriev