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

2011-12-09 Thread John Ladasky
Yes, I'm RTFM. As with SciTE, everything just hangs. So I went back to SciTE for now. And I'm doing what Terry Reedy suggested -- I am editing multiprocess.Pool in place. I made a backup, of course. I am using sudo to run SciTE so that I can edit the system files, and not have to wor

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

2011-12-06 Thread John Yeung
shaken my confidence in Python, though. (Also, for what it's worth, I use SciTE as my Python editor as well. I've also used Geany from time to time, and I have no trouble recommending it. It's a step up the IDE ladder from SciTE, but is still tons lighter than Eclipse and its brethren.) John -- http://mail.python.org/mailman/listinfo/python-list

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 i

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

Using Python with SciTE editor

2007-10-19 Thread bobmon
Hello, I have a problem running Python programs from within SciTE, under Linux --- the input( ) function fails with "IOError: [Errno 9] Bad file descriptor" The same program will run happily in SciTE, under Windows --- gets the input, goes off and calculates wondrous things --- b

Python as default Lexer in SciTE

2006-11-12 Thread egbert
Is it possible to set Python as the default language in SciTE? Not all my python scripts have the .py extension, only the to_be_imported ones. And I use SciTE only for Python. e. -- Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991

Re: Keyboard interrupts, Idle vs. SciTE

2006-11-03 Thread John Ladasky
Thanks Robert, I just poked around and found a PythonWin web page: http://aspn.activestate.com/ASPN/docs/ActivePython/2.3/pywin32/html/pythonwin/readme.html >From other links it appears that SciTE was based on PythonWin, and not the other way around. For people coding in other languages besi

Re: Keyboard interrupts, Idle vs. SciTE

2006-11-03 Thread John Ladasky
Thanks for the SciTE info, Neil. Yes, it was silly of me to forget to state that I'm using Win32. Normally, when I post to comp.lang.python, I remember to include that fact... :^P +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Ladasky Home Solar, Inc.: blowing sunshine up

Re: Keyboard interrupts, Idle vs. SciTE

2006-11-03 Thread robert
John Ladasky wrote: > Hi there. > > The following minimal code in Python 2.3.4 works under Idle v. 1.0.3, > but not under SciTE v. 1.66: > > from time import sleep > try: > while True: > sleep(0.25) > print ".", > except KeyboardI

Re: Keyboard interrupts, Idle vs. SciTE

2006-11-02 Thread Neil Hodgson
John Ladasky: > Under SciTE, I do not get my "exiting program" message. Instead, I get > the standard SciTE abort message: > > >> Process failed to respond; forcing abrupt termination... >> Exit code: 1 > > > I much prefer the SciTE environment to I

Keyboard interrupts, Idle vs. SciTE

2006-11-02 Thread John Ladasky
Hi there. The following minimal code in Python 2.3.4 works under Idle v. 1.0.3, but not under SciTE v. 1.66: from time import sleep try: while True: sleep(0.25) print ".", except KeyboardInterrupt: print "\nKeyboard interrupt received. Exiting program.\n\n

Re: SciTE: Printing in Black & White

2006-05-03 Thread Sandy
blem is that my on-screen background colour is not > bright white -- it's an off-white cream, which is so much easier on my > eyes: There are several properties that tweak printing listed in the documentation. Perhaps you want print.colour.mode=2. Neil [ copied from the SciT

SciTE: Printing in Black & White

2006-05-01 Thread Sandy
Dear Pythonic People, I recently discovered SciTE (1.68) as a programming editor, and I find it just beautiful. Small, fast, elegant and beautiful. I particularly like syntax highlighting features -- not simply different colours, but styles and fonts too. I don't know whether th

Re: emacs keybindings for scite/scinitilla?

2006-02-13 Thread Grant Edwards
On 2006-02-13, Grant Edwards <[EMAIL PROTECTED]> wrote: > This is technically off-topic, but scite/scinitilla seems to > have a particular connection to the Python community. > > I just tried scite for the first time and rather like it. It > uses GTK, which is shared with my

emacs keybindings for scite/scinitilla?

2006-02-13 Thread Grant Edwards
This is technically off-topic, but scite/scinitilla seems to have a particular connection to the Python community. I just tried scite for the first time and rather like it. It uses GTK, which is shared with my desktop (XFCE) so it starts up fast. It's fairly lean (at least by Emacs/Gnom

Re: Debugging with SciTE

2005-10-29 Thread jim . eggleston
Based on information from Jarek Zgoda in another thread on the Windows USERPROFILE environment variable, debug.py should be: import sys from pdb import pm, set_trace from inspect import getmembers if sys.platform == 'win32': import os os.environ['HOME'] = os.environ['USERPROFILE'] del sys.

Debugging with SciTE

2005-10-28 Thread jim . eggleston
I just figured out a reasonably decent way to use pdb in SciTE for debugging Python scripts. Debugging takes place in the SciTE output window. I have only tested this with SciTE on Windows. Here are the pieces you need: 1. Create a debug.py script file (I save this in c:\usr\python\scripts

Re: [OT] SciTe

2005-01-12 Thread Lucas Raab
Fouff wrote: I use Scintilla which is Scite with a lot of configurations files. In directory exists a file "cpp.properties" and near the end of the file is describe the command line use to compile, to link, ... I think you would be able to change here the compiler. regards Fouff Thank

Re: [OT] SciTe

2005-01-11 Thread Fouff
I use Scintilla which is Scite with a lot of configurations files. In directory exists a file "cpp.properties" and near the end of the file is describe the command line use to compile, to link, ... I think you would be able to change here the compiler. regards Fouff -- http://mail.

Re: SciTe

2005-01-11 Thread John Machin
Lucas Raab wrote: > I didn't want to go through the rigamole of adding myself to the SciTe > mailing list, so I'm asking my question here. How do I choose a > different C/C++ compiler to compile in?? I don't use the g++ compiler; I > use the VC 7 compiler. > > TIA

[OT] SciTe

2005-01-11 Thread Lucas Raab
I didn't want to go through the rigamole of adding myself to the SciTe mailing list, so I'm asking my question here. How do I choose a different C/C++ compiler to compile in?? I don't use the g++ compiler; I use the VC 7 compiler. TIA, Lucas -- http://mail.python.org/mailman/