Is my thread safe from premature garbage collection?

2005-09-01 Thread NutJob
Hello all, I'm aware that in Python an object is cleared for garbage collection as soon as the last reference to it disappears. Normally this is fine. However, in my current project I'm creating a bunch of threads which are supposed to run until they've completed their run() method, and I'm worrie

Re: Well, Python is hard to learn...

2005-09-01 Thread NutJob
Well, I reckon it all depends on how much experience you have with programming languages in general. If you're completely new to programming it's probably going to take a while to get to grips with it all, regardless of which language you're picking up, although I'd wager that Python is still one o

Re: Is my thread safe from premature garbage collection?

2005-09-01 Thread NutJob
Splendid! =) Thanks guys! -- http://mail.python.org/mailman/listinfo/python-list

Creating custom event in WxPython

2005-09-01 Thread NutJob
Hello, I'm faced with the following problem: I have a (secondary) thread that monitors a socket for incoming message traffic using the select.select() function. Besides that I also have the main thread of my WxPython application. So far so good. Now when my socket thread detects an incoming mess

Re: Is my thread safe from premature garbage collection?

2005-09-08 Thread NutJob
Good point there. Sorry, I should have thought of that myself really, but well, I guess I'm having my senior moments a bit early. :P -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating custom event in WxPython

2005-09-08 Thread NutJob
Cool, thanks a bunch! -- http://mail.python.org/mailman/listinfo/python-list