Convert empty string literal to string. Speed up creation of idmap.
diff --git a/Lib/string.py b/Lib/string.py
index 1d452ed..ec796f6 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -34,9 +34,10 @@
 printable = digits + letters + punctuation + whitespace
 
 # Case conversion helpers
-_idmap = ''
-for i in range(256): _idmap = _idmap + chr(i)
-del i
+# Use str to convert Unicode literal in case of -U
+l = map(chr, xrange(256))
+_idmap = str('').join(l)
+del l
 
 # Backward compatible names for exceptions
 index_error = ValueError