Calling Fredrik Lundh, (dare i ask) Guido, all other Guru's, could this be a bug?

G. Willoughby never at mind.info
Fri Jul 19 07:31:54 EDT 2002


with this code:

from Tkinter import *
class mainApplication:
 def __init__(self, master):
  self.menubar = Menu(master)
  self.filemenu = Menu(self.menubar, tearoff=0)
  self.filemenu.add_command(label="Exit", command=master.quit)
  self.menubar.add_cascade(label="File", menu=self.filemenu)
  master.config(menu=self.menubar)
root=Tk()
app=mainApplication(root)
root.mainloop()

 i get this error when i choose 'Exit' from the 'File' menu!   :(

'The instruction at "0x00d5a0a3" referenced memory at "0x00000008". The
memory could not be "read".'

as you can see no third party imports are made. Another question, how do i
go about getting a debug version of python to run this in on WinXP?

--G. Willoughby






More information about the Python-list mailing list