> On Thu, Mar 03, 2005 at 02:55:42PM -0500, Neil Schemenauer wrote:
> s = pickle.dumps(c)
In case this is useful, Python 2.4 gives a similar traceback with a
possible clue:
>>> s = pickle.dumps(c)
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/local/lib/python2.4/pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "/usr/local/lib/python2.4/pickle.py", line 231, in dump
self.save(obj)
File "/usr/local/lib/python2.4/pickle.py", line 338, in save
self.save_reduce(obj=obj, *rv)
File "/usr/local/lib/python2.4/pickle.py", line 415, in save_reduce
save(args)
File "/usr/local/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/local/lib/python2.4/pickle.py", line 576, in save_tuple
save(element)
File "/usr/local/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/local/lib/python2.4/pickle.py", line 760, in save_global
raise PicklingError(
pickle.PicklingError: Can't pickle :
it's not found as _persistent.PersistentBase