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
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
> *
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