Menu

#240 background exception handling

closed-accepted
None
5
2008-12-09
2007-09-06
Don Porter
No

Here's a patch that transforms
most Tcl_BackgroundError() calls
in Tk into TclBackgroundException()
calls when that appears more
appropriate.

Leaving it to maintainer judgment
whether the slightly more correct
result is worth greater use of
Tcl internal interfaces, or whether
this should wait until something
in Tcl's public interface arrives.

Discussion

  • Don Porter

    Don Porter - 2007-09-06
     
  • Daniel A. Steffen

    • assigned_to: das --> dgp
     
  • Daniel A. Steffen

    Logged In: YES
    user_id=90580
    Originator: NO

    I do not have particularly strong opinions about this, if there is a need for internal interfaces I don't think the ideal of a Tk using only public interfaces should stand in the way...
    Currently the only users of tclInt.h in Tk are tkMain.c and tkMacOSXInit.c for Tcl_{Get,Set}StartupScript, c.f. your own Tk FR 1336531

     
  • Don Porter

    Don Porter - 2008-12-09

    Descendant of this idea now
    committed as part of TIP 337.

     
  • Don Porter

    Don Porter - 2008-12-09
    • status: open --> closed-accepted
     
MongoDB Logo MongoDB