Message149946
| Author |
vstinner |
| Recipients |
ezio.melotti, lemburg, loewis, vstinner |
| Date |
2011年12月21日.00:48:43 |
| SpamBayes Score |
0.0015434409 |
| Marked as misclassified |
No |
| Message-id |
<1324428531.86.0.929600974446.issue13619@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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()). |
|
History
|
|---|
| 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 |
|