setlocale(): In _locale-missing compatibility function, string
comparison should be done with != instead of "is not".
diff --git a/Lib/locale.py b/Lib/locale.py
index 7a03722..d26560d 100644
--- a/Lib/locale.py
+++ b/Lib/locale.py
@@ -69,8 +69,7 @@
         """ setlocale(integer,string=None) -> string.
             Activates/queries locale processing.
         """
-        if value is not None and \
-           value is not 'C':
+        if value is not None and value != 'C':
             raise Error, '_locale emulation only supports "C" locale'
         return 'C'