[Python-bugs-list] [ python-Bugs-517447 ] Syntax error in tixwidgets.py
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 01 Mar 2002 05:11:14 -0800
Bugs item #517447, was opened at 2002-02-14 06:16
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=517447&group_id=5470
Category: Tkinter
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Detlef Lannert (lannert)
Assigned to: Nobody/Anonymous (nobody)
Summary: Syntax error in tixwidgets.py
Initial Comment:
tixwidgets.py reports a syntax error; the following
patch helps:
*** .../Demo/tix/tixwidgets.py.orig Sun Nov 25
15:50:55 2001
--- .../Demo/tix/tixwidgets.py Thu Feb 14 11:59:47
2002
***************
*** 135,142 ****
import tkMessageBox, traceback
while self.exit < 0:
try:
! while self.exit < 0:
! self.root.tk.dooneevent(TCL_ALL_EVENTS)
except SystemExit:
#print 'Exit'
self.exit = 1
--- 135,141 ----
import tkMessageBox, traceback
while self.exit < 0:
try:
!
self.root.tk.dooneevent(TCL_ALL_EVENTS)
except SystemExit:
#print 'Exit'
self.exit = 1
(I.e., delete the extra while and indent the
dooneevent call.)
This is for Python 2.2, but the version from CVS
looks just the same.
BTW, when I select the Directory Listing pane, the
application freezes (with a "busy" cursor); I don't
know why (yet).
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-03-01 08:11
Message:
Logged In: YES
user_id=33168
The syntax error has been fixed in 1.5 and 1.4.6.1.
If there is another bug, please open a new bug report.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=517447&group_id=5470