summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorTim Golden <mail@timgolden.me.uk>2013-10-25 17:38:16 (GMT)
committerTim Golden <mail@timgolden.me.uk>2013-10-25 17:38:16 (GMT)
commit6d09f09d8b4f6e45f4b96145bc75500f590de834 (patch)
treea3389f4a5e6c869977fc9e62d6c48575e8a6d027 /Lib/tempfile.py
parent8fea252a507024edf00d5d98881d22dc8799a8d3 (diff)
downloadcpython-6d09f09d8b4f6e45f4b96145bc75500f590de834.zip
cpython-6d09f09d8b4f6e45f4b96145bc75500f590de834.tar.gz
cpython-6d09f09d8b4f6e45f4b96145bc75500f590de834.tar.bz2
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 7da71c8..5d34621 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)