This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, giampaolo.rodola, gregory.p.smith, izbyshev, jwilk, serhiy.storchaka, vstinner
Date 2019-04-17.16:50:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555519806.48.0.64409374486.issue35755@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-04-17 16:50:06vstinnersetrecipients: + vstinner, gregory.p.smith, giampaolo.rodola, christian.heimes, jwilk, serhiy.storchaka, izbyshev
2019-04-17 16:50:06vstinnersetmessageid: <1555519806.48.0.64409374486.issue35755@roundup.psfhosted.org>
2019-04-17 16:50:06vstinnerlinkissue35755 messages
2019-04-17 16:50:06vstinnercreate