Re: Wrong exist status for os.system, os.poepen, etc.

2007-03-06 Thread Gabriel Genellina
En Wed, 07 Mar 2007 02:50:59 -0300, Hendrik van Rooyen <[EMAIL PROTECTED]> escribió: > "Paolo Pantaleo" <[EMAIL PROTECTED]> wrote: >> >>> import os >> >>> os.system("/tmp/x") >> 5120 >> > 256 times 20 is 5120 > this is a big/little endian little bug No, it's the old "RTFM" one. -- Gabriel Gen

Re: Wrong exist status for os.system, os.poepen, etc.

2007-03-06 Thread Hendrik van Rooyen
"Paolo Pantaleo" <[EMAIL PROTECTED]> wrote: > $./x > $echo $? > 20 > > $ python > > give the following commands: > > >>> import os > >>> os.system("/tmp/x") > 5120 > 256 times 20 is 5120 this is a big/little endian little bug - Hendrik -- http://mail.python.org/mailman/listinfo/python-list

Re: Wrong exist status for os.system, os.poepen, etc.

2007-03-06 Thread PAolo
On 6 Mar, 16:51, "Paul Boddie" <[EMAIL PROTECTED]> wrote: > On 6 Mar, 16:39, "Paolo Pantaleo" <[EMAIL PROTECTED]> wrote: > > > > > The os.system() (but all the other funciont with similar behavior) reports > > wrong exit status. I can reproduce the bug in the following way > > I think you should lo

Re: Wrong exist status for os.system, os.poepen, etc.

2007-03-06 Thread Paul Boddie
On 6 Mar, 16:39, "Paolo Pantaleo" <[EMAIL PROTECTED]> wrote: > > The os.system() (but all the other funciont with similar behavior) reports > wrong exit status. I can reproduce the bug in the following way I think you should look at some previous threads related to this (obtained by searching Goog

Wrong exist status for os.system, os.poepen, etc.

2007-03-06 Thread Paolo Pantaleo
Subject: python2.4: Wrong exist status for os.system, os.poepen, etc. Package: python2.4 Version: 2.4.4-2 Severity: normal -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (800, 'testing'), (70, 'stable'), (60, 'unstable') Architectur