homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Syntax error in tixwidgets.py
Type: Stage:
Components: Tkinter Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: lannert, nnorwitz
Priority: normal Keywords:

Created on 2002年02月14日 11:16 by lannert, last changed 2022年04月10日 16:04 by admin. This issue is now closed.

Messages (2)
msg9270 - (view) Author: Detlef Lannert (lannert) Date: 2002年02月14日 11:16
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).
msg9271 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002年03月01日 13:11
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.
History
Date User Action Args
2022年04月10日 16:04:59adminsetgithub: 36101
2002年02月14日 11:16:55lannertcreate

AltStyle によって変換されたページ (->オリジナル) /