]> granicus.if.org Git - python/commitdiff
Fix for
authorMichael W. Hudson <mwh@python.net>
Mon, 20 May 2002 13:56:11 +0000 (13:56 +0000)
committerMichael W. Hudson <mwh@python.net>
Mon, 20 May 2002 13:56:11 +0000 (13:56 +0000)
[ 558249 ] softspace vs --disable-unicode

And #endif was in the wrong place.

Bugfix candidate, almost surely.

I think I will embark on squashing test failures in --disable-unicode builds --
a Real Bug was hiding under them.

Python/ceval.c

index 4e08a2af0a87438509e54e14e6c1ba93a19d8eb3..fd30e8f3312731a3c4330823953b63da9a639d4d 100644 (file)
@@ -1428,9 +1428,9 @@ eval_frame(PyFrameObject *f)
                                    s[len-1] == ' ')
                                    PyFile_SoftSpace(w, 1);
                            }
+#endif
                            else
                                PyFile_SoftSpace(w, 1);
-#endif
                        }
                        Py_DECREF(v);
                        Py_XDECREF(stream);