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.

Author gpolo
Recipients HWJ, gpolo
Date 2008年09月16日.17:00:01
SpamBayes Score 1.8264967e-09
Marked as misclassified No
Message-id <1221584430.03.0.487380627372.issue3835@psf.upfronthosting.co.za>
In-reply-to
Content
If you remove the widget.config calls in GUI.ready you will notice the
problem "goes away", but note that this method is called from another
thread while you have a non-thread-safe tcl/tk lib (I'm assuming you
didn't compile it with --enable-threads). So.. using multiple threads in
Python while Tcl is compiled without --enable-threads isn't supported at
all.
To reproduce the problem try this (change Tkinter to tkinter if py3k):
import threading
import Tkinter
lbl = Tkinter.Label(text="hi")
threading.Thread(target=lambda: lbl.configure(text="hi there")).start()
lbl.mainloop()
If your tcl/tk libs weren't compiled with --enable-threads this should
get you an "TclError: out of stack space (infinite loop?)". A
documentation note may be added somewhere, but nothing much else is
going to happen (that is what I believe at least).
History
Date User Action Args
2008年09月16日 17:00:30gpolosetrecipients: + gpolo, HWJ
2008年09月16日 17:00:30gpolosetmessageid: <1221584430.03.0.487380627372.issue3835@psf.upfronthosting.co.za>
2008年09月16日 17:00:02gpololinkissue3835 messages
2008年09月16日 17:00:01gpolocreate

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