On NT, use a better template, ~XXX- where XXX is os.getpid().
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 652d196..d36898b 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -60,6 +60,8 @@
 	if template == None:
 		if os.name == 'posix':
 			template = '@' + `os.getpid()` + '.'
+		elif os.name == 'nt':
+			template = '~' + `os.getpid()` + '-'
 		elif os.name == 'mac':
 			template = 'Python-Tmp-'
 		else: