Mark Dickinson <dicki...@gmail.com> added the comment: Well, the signature of PyUnicode_Encode in Python 2.4 (see Objects/unicodeobject.c) is:
PyObject *PyUnicode_Encode(const Py_UNICODE *s, int size, const char *encoding, const char *errors) which looks like it might be relevant to the problems you're seeing. In 2.6, the size has type Py_ssize_t instead, which should be a 64-bit type on 64-bit Linux. Closing this, since it's out of date for current Python. ---------- status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7551> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com