eryksun added the comment:
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
----------
components: +Windows
nosy: +eryksun, paul.moore, steve.dower, tim.golden, zach.ware
versions: +Python 3.6 -Python 3.5
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24505>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com