[Python-3000-checkins] r58397 - python/branches/py3k/Objects/fileobject.c
guido.van.rossum
python-3000-checkins at python.org
Tue Oct 9 23:55:58 CEST 2007
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;
More information about the Python-3000-checkins
mailing list