Author: guido.van.rossum
Date: Tue Oct  9 23:55:58 2007
New Revision: 58397

Modified:
   python/branches/py3k/Objects/fileobject.c
Log:
PyFile_WriteObject() should use PyObject_Repr(), not _ReprStr8().


Modified: python/branches/py3k/Objects/fileobject.c
==============================================================================
--- python/branches/py3k/Objects/fileobject.c   (original)
+++ python/branches/py3k/Objects/fileobject.c   Tue Oct  9 23:55:58 2007
@@ -145,7 +145,7 @@
                value = _PyObject_Str(v);
        }
        else
-               value = PyObject_ReprStr8(v);
+               value = PyObject_Repr(v);
        if (value == NULL) {
                Py_DECREF(writer);
                return -1;
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to