Message117570
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 |
|
Date |
User |
Action |
Args |
2010-09-29 01:00:58 | vstinner | set | recipients:
+ vstinner, lemburg, ezio.melotti |
2010-09-29 01:00:58 | vstinner | set | messageid: <1285722058.65.0.0646178690486.issue9979@psf.upfronthosting.co.za> |
2010-09-29 01:00:57 | vstinner | link | issue9979 messages |
2010-09-29 01:00:57 | vstinner | create | |
|