Message124890
[MAL]
> * Unicode objects are NUL-terminated, but only very external APIs
> rely on this (e.g. code using the Windows Unicode API). Please
> don't make the code in unicodeobject.c itself rely on this
> subtle detail.
I would like to note that several APIs have been introduced that require NUL-terminated unicode strings: Py_UNICODE_strlen(), Py_UNICODE_strcpy(), etc. I see them used quite extensively in unicodeobject.c and elsewhere in Python codebase. Perhaps this train has left the station already. |
|
Date |
User |
Action |
Args |
2010-12-29 23:59:22 | belopolsky | set | recipients:
+ belopolsky, lemburg, georg.brandl, pitrou, vstinner, ezio.melotti, mgiuca |
2010-12-29 23:59:22 | belopolsky | set | messageid: <1293667162.36.0.732596443066.issue8821@psf.upfronthosting.co.za> |
2010-12-29 23:59:20 | belopolsky | link | issue8821 messages |
2010-12-29 23:59:19 | belopolsky | create | |
|