Re: Help with TkMenu bug in Python 1.2

Gary Herron (herron@cs.washington.edu)
Sat, 22 Apr 1995 19:10:04 GMT

W T Hewitt <w.t.hewitt@mcc.ac.uk> wrote:
>I have just installed Python 1.2 with Tk, and TkMenu fails.
>
> ...
>Would sombeody be kind enough to mail it to me please.
>

The required fix is for the installed file
.../lib/python/tkinter/Tkinter.py

At about line 4, change:

CallableTypes = (FunctionType, MethodType,
BuiltinFunctionType, BuiltinMethodType,
ClassType, InstanceType)
to:

CallableTypes = (FunctionType, MethodType,
BuiltinFunctionType, BuiltinMethodType)

Gary Herron

-- 
Dr. Gary Herron         |  Email: gjh@ag.wa.com
Applied Geometry        |  Snail: PO Box 4561
206-628-0342		|         Seattle WA 98104