diff -r f18767bb66ba Lib/tempfile.py --- a/Lib/tempfile.py Thu Mar 15 03:09:53 2012 -0400 +++ b/Lib/tempfile.py Thu Mar 15 07:09:15 2012 -0400 @@ -164,7 +164,7 @@ for dir in dirlist: if dir != _os.curdir: - dir = _os.path.normcase(_os.path.abspath(dir)) + dir = _os.path.normpath(_os.path.abspath(dir)) # Try only a few names per directory. for seq in range(100): name = next(namer)