[Pythonmac-SIG] Now installed 1.5.2c1, less problems
Stefan Witzgall
stefan.witzgall@online.de
Thu, 12 Apr 2001 08:27:59 +0200
Was
[Pythonmac-SIG] errors of every kind w/ MacPython 2.0, ...
OK, now I have installed 4(!) versions of MacPython on my machine (you
remember: a Mac OS 8.1 running PMac).
The version now installed is 1.5.2c1. I have less problems, tkinter runs
after the known hacks. Electrons are fine, Brownian in the Mac example
folder causes problems as it does with the newer versions, seems to be a
Pythonian problem. ped and the waste examples do not start up, the
interpreter falls into "quiet mode", but no error.
And a little astonishing, the following code doesn't work with 2.x (please
do not ask what version exactly or what fault. So many versions ... ;-) but
runs under the 1.5.2c1 interpreter:
---------------snip----------------
# File: hello2.py
from Tkinter import *
class App:
def __init__(self, master):
frame = Frame(master)
frame.pack()
self.button = Button(frame, text="QUIT", fg="red", command=frame.quit)
self.button.pack(side=LEFT)
self.hi_there = Button(frame, text="Hello", command=self.say_hi)
self.hi_there.pack(side=LEFT)
def say_hi(self):
print "hi there, everyone!"
root = Tk()
app = App(root)
root.mainloop()
---------------snap----------------
So far so good. But: What broke the newer version of MP on my machine? Kept
it uptodate (Appearance and so on) as far as it was possible for 8.1 i
think.
Stefan
<Stefan.Witzgall@online.de>