Message93971
For what it's worth, the code in question is used here (using "import
distutils" instead of "pass"):
http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/config/python.m4?rev=1.15;content-type=text%2Fx-cvsweb-markup
This is obviously a completely gratuitous variant on 2>/dev/null, but it
has apparently been working since forever. I'll probably go make the
change anyway.
Nevertheless, I think Python shouldn't core dump. It may choose to exit
doing nothing (useful) if it doesn't want to deal with this case.
Check this for possible alternative behaviors:
$ ls 1>&-
ls: write error: Bad file descriptor
($? = 2)
$ ls 1>&- 2>&-
($? = 2, no output) |
|
Date |
User |
Action |
Args |
2009-10-14 09:55:13 | petere | set | recipients:
+ petere, doko, amaury.forgeotdarc, pitrou, benjamin.peterson, stutzbach |
2009-10-14 09:55:13 | petere | set | messageid: <1255514113.67.0.589752902426.issue7111@psf.upfronthosting.co.za> |
2009-10-14 09:55:12 | petere | link | issue7111 messages |
2009-10-14 09:55:11 | petere | create | |
|