]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport:
authorGuido van Rossum <guido@python.org>
Wed, 4 Sep 2002 11:41:51 +0000 (11:41 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 4 Sep 2002 11:41:51 +0000 (11:41 +0000)
commitb6e835c5487d49c1495ff9c500b3c5318b0c4156
treefb82d37e51830e4d2f482ad103fa51b8a0b02d6c
parent344f425034cd197b21e4e32fb50013ece87d1dcc
Backport:

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