Patch# 1258 by Christian Heimes: kill basestring.
I like this because it makes the code shorter! :-)
diff --git a/Lib/locale.py b/Lib/locale.py
index b8bc567..3f30ca0 100644
--- a/Lib/locale.py
+++ b/Lib/locale.py
@@ -12,6 +12,7 @@
 """
 
 import sys, encodings, encodings.aliases
+from __builtin__ import str as _builtin_str
 
 # Try importing the _locale module.
 #
@@ -472,7 +473,7 @@
         category may be given as one of the LC_* values.
 
     """
-    if locale and not isinstance(locale, basestring):
+    if locale and not isinstance(locale, _builtin_str):
         # convert to string
         locale = normalize(_build_localename(locale))
     return _setlocale(category, locale)