[pypy-svn] r5616 - pypy/trunk/src/pypy/interpreter

mwh at codespeak.net mwh at codespeak.net
Thu Jul 22 17:59:33 CEST 2004


Author: mwh
Date: Thu Jul 22 17:59:32 2004
New Revision: 5616

Modified:
   pypy/trunk/src/pypy/interpreter/pyopcode.py
Log:
uncomment some necessary softspace code
(why was it commented out?  from before we had isinstance working??)


Modified: pypy/trunk/src/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/pyopcode.py	(original)
+++ pypy/trunk/src/pypy/interpreter/pyopcode.py	Thu Jul 22 17:59:32 2004
@@ -823,8 +823,8 @@
     stream.write(str(x))
     # add a softspace unless we just printed a string which ends in a '\t'
     # or '\n' -- or more generally any whitespace character but ' '
-    #    if isinstance(x, str) and len(x) and x[-1].isspace() and x[-1]!=' ':
-    #        return
+    if isinstance(x, str) and len(x) and x[-1].isspace() and x[-1]!=' ':
+        return
     # XXX add unicode handling
     file_softspace(stream, True)
 



More information about the Pypy-commit mailing list