This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author smola
Recipients docs@python, smola
Date 2020-02-05.12:52:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580907133.21.0.114993814029.issue39560@roundup.psfhosted.org>
In-reply-to
Content
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).
History
Date User Action Args
2020-02-05 12:52:13smolasetrecipients: + smola, docs@python
2020-02-05 12:52:13smolasetmessageid: <1580907133.21.0.114993814029.issue39560@roundup.psfhosted.org>
2020-02-05 12:52:13smolalinkissue39560 messages
2020-02-05 12:52:12smolacreate