STINNER Victor <vstin...@redhat.com> added the comment:
> I suspect that the former is implementation accident. I can't imagine why would anyone want this behavior. > > NB, POSIX says that when PATH is unset or empty, the path search is implementation-defined. Not thank you POSIX for being clueless. Let's say that Python is opiniatied, as when we decided that file descriptors must be created non-inheritable by default even if "it goes against POSIX". If you want to look if the current directory, you now have to ask for it kindly and explicitly ;-) IHMO Using CS_PATH rather than hardcoded os.defpath is also a major step forward ;-) ---------- _______________________________________ 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