Re: Python 2.5 fails where 2.4 works when running external program

2007-03-29 Thread Heikki Toivonen
Peter Otten wrote: > I think Exception.args always was supposed to be a tuple. Starting with 2.5 > Python enforces that constraint: [...] > http://docs.python.org/tut/node10.html#SECTION001030 > """ > But use of .args is discouraged. Instead, the preferred use is to pass a > single

Re: Python 2.5 fails where 2.4 works when running external program

2007-03-29 Thread Peter Otten
Heikki Toivonen wrote: > We have successfully used a script to run external programs for several > years. Now we upgraded our Python to 2.5, and are hitting a mysterious > error. > > The expected output from the sample script (see below) with 2.4 looks > like this: > > ret ['5\n'] > else > *

Python 2.5 fails where 2.4 works when running external program

2007-03-29 Thread Heikki Toivonen
We have successfully used a script to run external programs for several years. Now we upgraded our Python to 2.5, and are hitting a mysterious error. The expected output from the sample script (see below) with 2.4 looks like this: ret ['5\n'] else ExternalCommandErrorWithOutp