commit | 8c2133da7b1059404a3f6b8cc941dbbb6464a03f | [log] [tgz] |
---|---|---|
author | Marc-André Lemburg <mal@egenix.com> | Tue Jun 12 13:14:10 2001 +0000 |
committer | Marc-André Lemburg <mal@egenix.com> | Tue Jun 12 13:14:10 2001 +0000 |
tree | 2ea990698d3c2827b717c9a811e27e31787310c6 | |
parent | 4a6c5c568facc981c8a9887419137b475931ed40 [diff] |
Fix for bug #432384: Recursion in PyString_AsEncodedString?
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 *v; - v = PyString_AsEncodedString(str, encoding, errors); + v = PyString_AsEncodedObject(str, encoding, errors); if (v == NULL) goto onError;