[Python-Dev] sys.exit(47) ?

Peter Astrand astrand at lysator.liu.se
Wed Nov 17 21:13:26 CET 2004

On Wed, 17 Nov 2004, M.-A. Lemburg wrote:

> something in the regression suite is generating a temporary
> file with content:
> #!/bin/sh
> exec /path/to/python -c 'import sys; sys.exit(47)'
> and not cleaning up after itself.
> This started around Oct. 13. Looking at the regression suite
> test_subprocess.py seems to be the cause.

Thanks for pointing this out. Now fixed, in revision 1.15 of

> BTW, wouldn't sys.exit(42) be more appropriate :-?

42 is not as random :) See http://en.wikipedia.org/wiki/47_%28number%29

/Peter Åstrand <astrand at lysator.liu.se>

More information about the Python-Dev mailing list