re: Unpickling python 2.2 userArray objs in python 2.3

July 23, 2004
10:09 a.m.
I have further information on my problem of unpickling an object that is based on Numeric.UserArray class. I can recreate the endless getattr loop with the following code, which is a small subsection of my class: data = Numeric.ones(31,savespace=1) ua = UserArray(data) blob = cPickle.dumps(ua) obj = cPickle.loads(blob) <-- fails here If you pickle the data obj, everything works. This code works in Python2.2. Is this a bug? Is it fixable? sue
7576
Age (days ago)
7576
Last active (days ago)
0 comments
1 participants
participants (1)
-
sagļ¼ hydrosphere.com