Opened 9 years ago

Closed 9 years ago

#5788 defect closed invalid (invalid)

Twisted Tk swallows errors in ::tk::mac::Quit on MacOS X

Reported by: Russell Owen Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: r_owen


The Twisted event loop, when used with Tkinter silently swallows exceptions raised in the ::tk::mac::Quit command (thus this is only an issue on MacOS X).

The problem does not show up when using Tk's own event loop. See attached example, which includes a flag to toggle twisted on/off.

My setup:

  • Mac OS X 10.7.4
  • 64-bit Python 2.7.3
  • ActiveState Tcl/Tk ActiveTcl8.
  • Twisted 12.0.0

Attachments (1) (1.0 KB) - added by Russell Owen 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Russell Owen

comment:1 Changed 9 years ago by Jean-Paul Calderone

Resolution: invalid
Status: newclosed

From the API documentation for tksupport:

When using Aqua Tcl/Tk on Mac OS X the standard Quit menu item in your application might become unresponsive without the additional


| root.createcommand("::tk::mac::Quit", reactor.stop)

@see: U{Tcl/TkAqua FAQ for more info<>}

Note: See TracTickets for help on using tickets.