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 vstinner
Recipients ezio.melotti, lemburg, vstinner
Date 2010-09-29.01:00:54
SpamBayes Score 3.136643e-08
Marked as misclassified No
Message-id <1285722058.65.0.0646178690486.issue9979@psf.upfronthosting.co.za>
In-reply-to
Content
New version of the patch:
 - fix PyUnicode_AsWideCharString() :-)
 - replace PyUnicode_AsWideChar() by PyUnicode_AsWideCharString() in most functions using PyUnicode_AsWideChar()
 - indicate that PyUnicode_AsWideCharString() raises a MemoryError on error

Keep the call to PyUnicode_AsWideChar() in:
 - Modules/getpath.c because getpath.c uses a global limitation of MAXPATHLEN+1 characters
 - WCharArray_set_value() and U_set() of ctypes because the output buffer size is fixed
History
Date User Action Args
2010-09-29 01:00:58vstinnersetrecipients: + vstinner, lemburg, ezio.melotti
2010-09-29 01:00:58vstinnersetmessageid: <1285722058.65.0.0646178690486.issue9979@psf.upfronthosting.co.za>
2010-09-29 01:00:57vstinnerlinkissue9979 messages
2010-09-29 01:00:57vstinnercreate