STINNER Victor <vstin...@redhat.com> added the comment:

Gregory:
> I'm not arguing against this change, just trying to figure out where it came 
> from in the first place.  We should fix the value on all OSes.

In the meanwhile, I reverted the ntpath change. I'm not sure that it's ok to 
change the Windows case.

shutil.which() *always* starts by checking if the searched program is the 
current directory:

    if sys.platform == "win32":
        # The current directory takes precedence on Windows.
        ...
        if curdir not in path:
            path.insert(0, curdir)

If someone cares about changing Windows, please open a separated issue.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35755>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to