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 <1444063198.08.0.193016019963.issue24505@psf.upfronthosting.co.za>
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: <1444063198.08.0.193016019963.issue24505@psf.upfronthosting.co.za>
2015-10-05 16:39:57eryksunlinkissue24505 messages
2015-10-05 16:39:57eryksuncreate