Message149946
I would be possible to implement incremental decoder with mbsrtowcs() and incremental encoder with wcsrtombs(), by serializing mbstate_t to a long integer (TextIOWrapper.tell() does something like that). The problem is that mbsrtowcs() and wcsrtombs() are "recent" (not always available). It may also be dangerous to allow the user to pass an arbitrary mbstate_t (using .setstate()). |
|
Date |
User |
Action |
Args |
2011-12-21 00:48:52 | vstinner | set | recipients:
+ vstinner, lemburg, loewis, ezio.melotti |
2011-12-21 00:48:51 | vstinner | set | messageid: <1324428531.86.0.929600974446.issue13619@psf.upfronthosting.co.za> |
2011-12-21 00:48:43 | vstinner | link | issue13619 messages |
2011-12-21 00:48:43 | vstinner | create | |
|