Re: Strange threading behaviour

2012-06-21 Thread Dave Angel
On 06/21/2012 02:03 PM, Rotwang wrote: > On 21/06/2012 18:07, Dave Angel wrote: >> On 06/21/2012 11:19 AM, Rotwang wrote: >>> Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written >>> is acting strangely. I can reproduce the behaviour in question with >>> the following: >>> >>> ---

Re: Strange threading behaviour

2012-06-21 Thread Rotwang
On 21/06/2012 18:37, Dennis Lee Bieber wrote: On Thu, 21 Jun 2012 16:19:41 +0100, Rotwang declaimed the following in gmane.comp.python.general: import threading, Tkinter, os, pickle class savethread(threading.Thread): def __init__(self, value): threading.Thread.__init__(self)

Re: Strange threading behaviour

2012-06-21 Thread Rotwang
On 21/06/2012 18:07, Dave Angel wrote: On 06/21/2012 11:19 AM, Rotwang wrote: Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is acting strangely. I can reproduce the behaviour in question with the following: --- begin bugtest.py --- import threading, Tkinter, os, pickle

Re: Strange threading behaviour

2012-06-21 Thread inq1ltd
On Thursday, June 21, 2012 11:46:30 AM inq1ltd wrote: > On Thursday, June 21, 2012 04:19:41 PM Rotwang wrote: > > Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is > > acting strangely. I can reproduce the behaviour in question with the > > following: > > > > --- begin bugte

Re: Strange threading behaviour

2012-06-21 Thread Dieter Maurer
Rotwang writes: > Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written > is acting strangely. I can reproduce the behaviour in question with > the following: > > --- begin bugtest.py --- > > import threading, Tkinter, os, pickle > > class savethread(threading.Thread): > def _

Re: Strange threading behaviour

2012-06-21 Thread Temia Eszteri
On Thu, 21 Jun 2012 10:12:07 -0700, Temia Eszteri wrote: > >Try appending the dump command with f.flush() and os.fsync(). > >~Temia Actually, wait, no. The behavior you're describing is indicating that the thread in question isn't even getting a chance to execute at all. I'd recommend going with

Re: Strange threading behaviour

2012-06-21 Thread Temia Eszteri
On Thu, 21 Jun 2012 16:19:41 +0100, Rotwang wrote: >Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is >acting strangely. I can reproduce the behaviour in question with the >following: > >--- begin bugtest.py --- > >import threading, Tkinter, os, pickle > >class savethread

Re: Strange threading behaviour

2012-06-21 Thread Dave Angel
On 06/21/2012 11:19 AM, Rotwang wrote: > Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written > is acting strangely. I can reproduce the behaviour in question with > the following: > > --- begin bugtest.py --- > > import threading, Tkinter, os, pickle > > class savethread(threading

Re: Strange threading behaviour

2012-06-21 Thread inq1ltd
On Thursday, June 21, 2012 04:19:41 PM Rotwang wrote: > Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is > acting strangely. I can reproduce the behaviour in question with the > following: > > --- begin bugtest.py --- > > import threading, Tkinter, os, pickle try this; f

Strange threading behaviour

2012-06-21 Thread Rotwang
Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is acting strangely. I can reproduce the behaviour in question with the following: --- begin bugtest.py --- import threading, Tkinter, os, pickle class savethread(threading.Thread): def __init__(self, value): th