➜

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 eryksun
Recipients bar.harel, bobjalex, eryksun, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2015-10-05.16:39:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
Please don't default to searching the current directory:

    if is_windows:
        # The current directory takes precedence on Windows.
        if not os.curdir in path:
            path.insert(0, os.curdir)

Add a keyword option to enable this, with a warning that including the current directory isn't secure. This option should not be able to override the environment variable [NoDefaultCurrentDirectoryInExePath][1].

[1]: https://msdn.microsoft.com/en-us/library/ms684269
History
Date User Action Args
2015-10-05 16:39:58eryksunsetrecipients: + eryksun, paul.moore, tim.golden, r.david.murray, zach.ware, steve.dower, bobjalex, bar.harel
2015-10-05 16:39:58eryksunsetmessageid: <[email protected]>
2015-10-05 16:39:57eryksunlinkissue24505 messages
2015-10-05 16:39:57eryksuncreate