This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients ajung, mark.dickinson
Date 2009-12-20.17:46:39
SpamBayes Score 1.1795274e-09
Marked as misclassified No
Message-id <1261331200.96.0.262015712179.issue7551@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-12-20 17:46:41mark.dickinsonsetrecipients: + mark.dickinson, ajung
2009-12-20 17:46:40mark.dickinsonsetmessageid: <1261331200.96.0.262015712179.issue7551@psf.upfronthosting.co.za>
2009-12-20 17:46:39mark.dickinsonlinkissue7551 messages
2009-12-20 17:46:39mark.dickinsoncreate