[issue9894] wrong errno check

2010-09-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r84878 (3.2), r84879 (2.7) and r84880 (3.1). Thank you! -- nosy: +pitrou resolution: -> fixed status: open -> closed versions: +Python 2.7, Python 3.1 ___ Python tracker

[issue9894] wrong errno check

2010-09-18 Thread Pino Toscano
New submission from Pino Toscano : In Lib/test/test_subprocess.py there's a check of an errno value done against a number, instead of using the proper E* constants, which is not portable (POSIX does not specify any actual value of the E* constants). This makes the test test_leaking_fds_on_error