Message361426
PyUnicode_FromKindAndData copies input data and transforms it to the most compact representation. This behavior is not documented.
Proposed wording:
> The input buffer is copied and transformed into the canonical representation, if necessary. For example, if the buffer is a UCS4 string (PyUnicode_4BYTE_KIND) and it consists only of codepoints in the UCS1 range, it will be transformed into UCS1 (PyUnicode_1BYTE_KIND). |
|
Date |
User |
Action |
Args |
2020-02-05 12:52:13 | smola | set | recipients:
+ smola, docs@python |
2020-02-05 12:52:13 | smola | set | messageid: <1580907133.21.0.114993814029.issue39560@roundup.psfhosted.org> |
2020-02-05 12:52:13 | smola | link | issue39560 messages |
2020-02-05 12:52:12 | smola | create | |
|