[New-bugs-announce] [issue16993] shutil.which() should preserve path case

Serhiy Storchaka report at bugs.python.org
Fri Jan 18 10:25:25 CET 2013


New submission from Serhiy Storchaka:

Now which lowercase found directory name and extension on Windows.

>>> shutil.which("python")
'c:\\python33\\python.exe'

Proposed patch preserve case.

>>> shutil.which("python")
'C:\\Python33\\python.exe'

Please test this on Windows.

----------
messages: 180181
nosy: hynek, serhiy.storchaka, tarek
priority: normal
severity: normal
status: open
title: shutil.which() should preserve path case
type: behavior
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16993>
_______________________________________


More information about the New-bugs-announce mailing list