Commits

Anonymous committed 2a7344d

Fix for 2.2. isinstance(X, bool) is illegal.

Comments (0)

Files changed (1)

pypy/translator/tool/buildcl.py

         return Literal(s)
 
 def writelisp(gen, obj):
-    if isinstance(obj, (bool, int, type(None), str)):
+    #if isinstance(obj, (bool, int, type(None), str)):
+    if isinstance(obj, (int, type(None), str)):
         return gen.conv(obj)
     if isinstance(obj, (tuple, list)):
         content = ' '.join([writelisp(gen, elt) for elt in obj])