[Python-bugs-list] [ python-Bugs-837234 ] Tk.quit and sys.exit cause Fatal Error

SourceForge.net noreply at sourceforge.net
Thu Nov 6 10:05:34 EST 2003


Bugs item #837234, was opened at 2003-11-06 22:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=837234&group_id=5470

Category: Tkinter
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bill la Forge (blaforge)
Assigned to: Martin v. Löwis (loewis)
Summary: Tk.quit and sys.exit cause Fatal Error

Initial Comment:
Fatal Python error: PyEval_RestoreThread: NULL tstate

I get this if I do a sys.exit() or a Tkinter quit() from with 
an after call or from capturing an input event.

HOWEVER, if I capture a <Destroy> event and then call 
quit(), everything works fine!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=837234&group_id=5470



More information about the Python-bugs-list mailing list