[wxPython-users] Re: threading
Josiah Carlson
jcarlson at uci.edu
Tue Mar 20 00:15:43 PDT 2007
Christian <ckkart at hoc.net> wrote:
> Josiah Carlson wrote:
> > Just Python data structures (list, dict, etc.), or GUI widgets? If GUI
>
> Just python/numpy data (python eval() is called a lot btw. - a problem?), no GUI
> things are touched. I even created a copy of the data of interest using
> copy.deepcopy.
I stay away from eval() out of personal taste, though it may be the case
that eval() in a secondary thread is causing some issue with your GUI
(due to its use of the Python compiler, which I've had issues using in
combination with wx.FileConfig). Do you need eval()? Could you get away
with float(), int(), etc.? Is your GUI thread actually using and/or
manipulating your Python/numpy data (if not, I wouldn't bother copying it)?
It would be much easier to help you try to solve the problem if you gave
more detail; perhaps provided a copy/pasted traceback, tried running it
on a different platform to see if the problem persists, maybe even
offered a stand-alone example that (even intermittantly) shows the bug.
- Josiah
More information about the wxpython-users
mailing list