summaryrefslogtreecommitdiff
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorTim Golden <mail@timgolden.me.uk>2013-10-25 18:38:16 +0100
committerTim Golden <mail@timgolden.me.uk>2013-10-25 18:38:16 +0100
commit6d09f09d8b4f6e45f4b96145bc75500f590de834 (patch)
treea3389f4a5e6c869977fc9e62d6c48575e8a6d027 /Lib/tempfile.py
parent8fea252a507024edf00d5d98881d22dc8799a8d3 (diff)
downloadcpython-git-6d09f09d8b4f6e45f4b96145bc75500f590de834.tar.gz
Issue14255 Don't flatten case of tempdir
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 7da71c8c3b..5d3462102f 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -146,7 +146,7 @@ def _get_default_tempdir():
for dir in dirlist:
if dir != _os.curdir:
- dir = _os.path.normcase(_os.path.abspath(dir))
+ dir = _os.path.abspath(dir)
# Try only a few names per directory.
for seq in range(100):
name = next(namer)