Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-09 Thread John Ladasky
Thanks once again to everyone for their recommendations, here's a follow-up. In summary, I'm still baffled. I tried ipython, as Marco Nawijn suggested. If there is some special setting which returns control to the interpreter when a subprocess crashes, I haven't found it yet. Yes, I'm RTFM. As

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread John Yeung
On Dec 6, 7:30 pm, John Ladasky wrote: > On Dec 6, 1:42 pm, Terry Reedy wrote: > > It is even possible that multiprocessing.pool has a bug > > that you ran into. > > Oh, please don't say that.  I'm no computer scientist, and > Python has been scrutinized by so many professionals.  I > couldn't ha

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread Chris Angelico
On Wed, Dec 7, 2011 at 5:57 PM, Steven D'Aprano wrote: > On Tue, 06 Dec 2011 16:30:16 -0800, John Ladasky wrote: > >> Oh, please don't say that.  I'm no computer scientist, and Python has >> been scrutinized by so many professionals.  I couldn't have possibly >> found a language bug. > > While you

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread Steven D'Aprano
On Tue, 06 Dec 2011 16:30:16 -0800, John Ladasky wrote: >> I would start with the line that fails 'put(task)', and work backwards >> to see where 'task' comes from and how it could become None. It is even >> possible that multiprocessing.pool has a bug that you ran into. > > Oh, please don't say

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread Terry Reedy
On 12/6/2011 7:30 PM, John Ladasky wrote: On Dec 6, 1:42 pm, Terry Reedy wrote: On 12/6/2011 2:13 PM, John Ladasky wrote: I need to accomplish this WITHOUT adding a try...except block to the Python library file multiprocessing/pool.py. I do not understand this statement. You should feel fr

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread John Ladasky
On Dec 6, 1:42 pm, Terry Reedy wrote: > On 12/6/2011 2:13 PM, John Ladasky wrote: > > Exception in thread Thread-1: > > Traceback (most recent call last): > >    File "/usr/lib/python2.6/threading.py", line 532, in > > __bootstrap_inner > >      self.run() > >    File "/usr/lib/python2.6/threading

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread Matt Joiner
John I'm in a similar position. I've been using Geany for 2+ years and haven't found anything to replace it. Either the replacement tool makes it too difficult to work with Python correctly, or I spend more time trying to understand it, rather than getting the job done. I also use vim on occasion w

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread John Ladasky
Thanks, Marco. I've noticed that the matplotlib reference manual recommends ipython. I haven't been clear what its advantages are, but if interacting with multiprocessing correctly is one of them, I'll try it. If ipython does everything that IDLE does and more, why is IDLE still shipped with Pyth

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread Terry Reedy
On 12/6/2011 2:13 PM, John Ladasky wrote: Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self

Re: Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread Marco Nawijn
On Dec 6, 8:13 pm, John Ladasky wrote: > Hi, folks, > > Back in 2002, I got back into programming after a nine-year hiatus.  I > needed a new programming language, was guided to Python 2.2, and was > off to the races.  I chose the SciTE program editor, and I have been > using it ever since.  I'm n

Multiprocessing bug, is my editor (SciTE) impeding my progress?

2011-12-06 Thread John Ladasky
Hi, folks, Back in 2002, I got back into programming after a nine-year hiatus. I needed a new programming language, was guided to Python 2.2, and was off to the races. I chose the SciTE program editor, and I have been using it ever since. I'm now using Python 2.6 on Ubuntu Linux 10.10. My prog