Message340418
Gregory:
> I'm not arguing against this change, just trying to figure out where it came from in the first place. We should fix the value on all OSes.
In the meanwhile, I reverted the ntpath change. I'm not sure that it's ok to change the Windows case.
shutil.which() *always* starts by checking if the searched program is the current directory:
if sys.platform == "win32":
# The current directory takes precedence on Windows.
...
if curdir not in path:
path.insert(0, curdir)
If someone cares about changing Windows, please open a separated issue. |
|
Date |
User |
Action |
Args |
2019-04-17 16:50:06 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, giampaolo.rodola, christian.heimes, jwilk, serhiy.storchaka, izbyshev |
2019-04-17 16:50:06 | vstinner | set | messageid: <1555519806.48.0.64409374486.issue35755@roundup.psfhosted.org> |
2019-04-17 16:50:06 | vstinner | link | issue35755 messages |
2019-04-17 16:50:06 | vstinner | create | |
|