[PATCH] Trivial -- Exception in explain_exit on the other OS

Matt Mackall mpm at selenic.com
Mon Jul 11 01:17:07 UTC 2005


On Sun, Jul 10, 2005 at 06:12:07PM -0700, K Thananchayan wrote:
> The following patch makes explain_exit to be a
> platform variant function as return code from
> os.system is platform dependent semantics.

Is this really necessary? I thought the whole point of os was to make
this stuff portable. What specifically goes wrong?

> -    elif os.WIFSTOPPED(code):
> -        val = os.STOPSIG(code)
> -        return "stopped by signal %d" % val, val

This got changed in the tip, btw.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list