Jeff Epler wrote: > However, on this system, I couldn't recreate the problem you reported > with either the "using _tkinter directly" instructions, or using this > "C" test program: > > #include <tcl.h> > #include <tk.h> > > int main(void) { > Tcl_Interp *trp; > unsetenv("DISPLAY"); > trp = Tcl_CreateInterp(); > printf("%d\n", Tk_Init(trp)); > printf("%d\n", Tk_Init(trp)); > return 0; > } The problem only occurs when Tcl and Tk were compiled with --enable-threads, and it occurs because Tk fails to unlock a mutex in a few error cases. The patch below fixes the problem. I'll report it to the Tcl people, and see whether I can work around in _tkinter. Regards, Martin -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: tk.diff Url: http://mail.python.org/pipermail/python-dev/attachments/20060430/55b272b8/attachment.diff
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4