[issue14255] tempfile.gettempdir() didn't return the path with correct case.
Jeff McNeil
report at bugs.python.org
Thu Mar 15 12:21:54 CET 2012
Jeff McNeil <jeff at jmcneil.net> added the comment:
Here's a tiny patch that just changes normcase->normpath. This fixes the casing issue at the 'gettempdir' level, though it doesn't address the 'normcase' function itself.
Note that *both* macpath.py and ntpath.py use <s>.lower, which obviously won't fly on case-sensitive mounts. If someone more experienced than I has a suggestion on how to handle that -- or whether its worthwhile to even touch -- I'll gladly implement.
----------
keywords: +patch
Added file: http://bugs.python.org/file24861/tempfile_normpath.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14255>
_______________________________________
More information about the Python-bugs-list
mailing list