On Sun, 09 Jul 2006 07:06:25 -0700, Jim Lewis wrote:

>> How about you post the complete stack trace of the exception?
> 
> Exception in Tkinter callback
> Traceback (most recent call last):
>   File "C:\program files\python\lib\lib-tk\Tkinter.py", line 1345, in
> __call__
>     return self.func(*args)
>   File "C:\Public\world.py", line 1832, in BtnGo
>     DoBtnGo()
>   File "C:\Public\world.py", line 1812, in DoBtnGo
>     if DoPickle: SavePickle ()
>   File "C:\Public\world.py", line 1817, in SavePickle
>     pickle.dump (pop,f)

I'd suggest that "pop" could be your culprit. At least, that's where I'd
start looking. What is pop? A function or an instance method?

I can't reproduce your error exactly -- the closest I get is "TypeError:
can't pickle function objects" when I try to pickle a method. Possibly
that's just a change in error message, which is not guaranteed to be
constant across Python versions.

-- 
Steven.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to