Message86416
Interestingly, it only fails with protocol 0:
>>> v = ([],)
>>> v[0].append(v)
>>> import pickle,cPickle
>>> cPickle.loads(pickle.dumps(v, 0))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
cPickle.UnpicklingError: unpickling stack underflow
>>> cPickle.loads(pickle.dumps(v, 1))
([([...],)],)
>>> cPickle.loads(pickle.dumps(v, 2))
([([...],)],)
>>>
I'll see if I can come up with a fix. |
|
Date |
User |
Action |
Args |
2009-04-24 16:51:25 | collinwinter | set | recipients:
+ collinwinter, cwitty |
2009-04-24 16:51:25 | collinwinter | set | messageid: <1240591885.74.0.592766435485.issue5794@psf.upfronthosting.co.za> |
2009-04-24 16:51:24 | collinwinter | link | issue5794 messages |
2009-04-24 16:51:24 | collinwinter | create | |
|