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
commit5a533d17cc689dd61d4b83ce11981878baa4d2a1 (patch)
tree7909d8f1659386554a4d4962d53a5a7a2d6f93a3 /Lib/tempfile.py
parent1bc931d1228fb6bd1c7bed55e77aa2bd2cc37cac (diff)
downloadcpython-5a533d17cc689dd61d4b83ce11981878baa4d2a1.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)