Message149594
> Why is the utf-8 representation not cached when it is generated for
> ParseTuple et alia?
It is.
> When a string is created from a wchar_t array, who is responsible for
> releasing the original wchar_t array?
The caller.
> As I read it now, Python
> doesn't release the buffer, and the caller can't because maybe Python
> just pointed to it as memory shared with the canonical
> representation.
But Python won't; it will always make a copy for itself. |
|
Date |
User |
Action |
Args |
2011-12-16 05:41:31 | loewis | set | recipients:
+ loewis, vstinner, docs@python, Jim.Jewett |
2011-12-16 05:41:31 | loewis | link | issue13604 messages |
2011-12-16 05:41:30 | loewis | create | |
|