Paul Moore <p.f.mo...@gmail.com> added the comment:
I don't think this is expected behaviour. It's not documented what should happen in this case but the behaviour suggested by the OP (to search for the path as given, followed by [path+e for e in os.environ['PATHEXT'].split(os.pathsep)] seems reasonable to me. The details and corner cases need thrashing out, which I don't have time to do right now, but the principle seems sound. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com