Re: Tix, spinboxes, and 1=5

2006-02-23 Thread cjbackhouse
The entry in the spinbox is a string. Thanks. The only question now is why oh why would anyone design something so stupid. (severely tempted to go back to a strongly typed language before even finishing one program) -- http://mail.python.org/mailman/listinfo/python-list

Tix, spinboxes, and 1=5

2006-02-22 Thread cjbackhouse
This odd bug has been annoying me for several days now. I finally got round to making this, frankly hilarious, testcase: from Tix import * def sayfive(num): if num5: print num, 5 else: print num,= 5 sayfive(4) sayfive(6) rootwnd=Tk() Control(rootwnd,command=sayfive).pack()