Re: [Tutor] Multi-threading IO and the GIL

2008-10-28 Thread Tim Kelsey
- Original Message - From: "Kent Johnson" <[EMAIL PROTECTED]> To: "Tim Kelsey" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, October 28, 2008 12:45 PM Subject: Re: [Tutor] Multi-threading IO and the GIL On Tue, Oct 28, 2008 at 7:27 AM, Tim Kelsey <[EMAIL PROTECTED]> wrote: Im not sure

Re: [Tutor] Multi-threading IO and the GIL

2008-10-28 Thread Kent Johnson
On Tue, Oct 28, 2008 at 7:27 AM, Tim Kelsey <[EMAIL PROTECTED]> wrote: > Im not sure if this is the correct list to post this sort of thing We'll try to answer pretty much any Python question. > but I > have a question about python threading and the GIL. I have a multi-threaded > application tha

[Tutor] Multi-threading IO and the GIL

2008-10-28 Thread Tim Kelsey
eutechnyx Hello All, Im not sure if this is the correct list to post this sort of thing but I have a question about python threading and the GIL. I have a multi-threaded application that is hitting a MySQL database for some info from within the various threads. When increase the size of my th

Re: [Tutor] pickling and unpickling custom classes

2008-10-28 Thread Kent Johnson
On Mon, Oct 27, 2008 at 11:40 PM, Lex Flagel <[EMAIL PROTECTED]> wrote: > I'm using a simple class called Hash, which I picked up from the following > site: > http://mail.python.org/pipermail/python-list/2007-August/453716.html > > I like using this Hash object for its convenience, but it won't >

[Tutor] pickling and unpickling custom classes

2008-10-28 Thread Lex Flagel
I'm using a simple class called Hash, which I picked up from the following site: http://mail.python.org/pipermail/python-list/2007-August/453716.html I like using this Hash object for its convenience, but it won't unpickle. Is there fix to the code example below (either the pickler or the Hash ob

[Tutor] Tkinter / WxPython Question.

2008-10-28 Thread Olrik Lenstra
Dear Mailing list, a while ago a few of you helped me solve an issue I had with a GUI / scan program that I made. The problem was that when I tried to move the frame it would hang until the scan was finished. To solve this I had to add "wx.SafeYield(self, True)" to the scan and the GUI wouldn't ha