From 8c2133da7b1059404a3f6b8cc941dbbb6464a03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lemburg?= Date: Tue, 12 Jun 2001 13:14:10 +0000 Subject: Fix for bug #432384: Recursion in PyString_AsEncodedString? --- Objects/stringobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/stringobject.c b/Objects/stringobject.c index da49d81..bcf5147 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -265,7 +265,7 @@ PyObject *PyString_AsEncodedString(PyObject *str, { PyObject *v; - v = PyString_AsEncodedString(str, encoding, errors); + v = PyString_AsEncodedObject(str, encoding, errors); if (v == NULL) goto onError; -- cgit v0.12