[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")

Proposed patch preserve case.

>>> shutil.which("python")

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>

More information about the New-bugs-announce mailing list