]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix for SF bug 601077 by Zack Weinberg.
authorGuido van Rossum <guido@python.org>
Tue, 3 Sep 2002 16:36:17 +0000 (16:36 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 3 Sep 2002 16:36:17 +0000 (16:36 +0000)
commit683c0fe41430d66e329279e164912cea62170f0a
tree6e632098bf419670dd9c03780cfcfd70f45a0827
parent17db21ffd0659ba3eb864b161cc2c4f63849e62e
Fix for SF bug 601077 by Zack Weinberg.

The new execvpe code would sometimes do the wrong thing when a
non-executable file existed earlier in the path and an executable file
of the same name existed later in the path.  This patch restores the
proper behavior (which is to execute the second file).  When only a
non-executable file exists, the correct error is still reported.
Lib/os.py