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 petr.viktorin
Recipients georg.brandl, indygreg, methane, petr.viktorin, serhiy.storchaka, vstinner
Date 2021-08-30.15:30:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630337443.9.0.906321661038.issue45025@roundup.psfhosted.org>
In-reply-to
Content
PyUnicode_KIND does *not* expose the implementation details to the programmer.

If the internal representation os strings is switched to use masks and shifts instead of bitfields, PyUnicode_KIND (and others) can be adapted to the new details without breaking API compatibility.
And that switch would fix this issue.
History
Date User Action Args
2021-08-30 15:30:43petr.viktorinsetrecipients: + petr.viktorin, georg.brandl, vstinner, methane, serhiy.storchaka, indygreg
2021-08-30 15:30:43petr.viktorinsetmessageid: <1630337443.9.0.906321661038.issue45025@roundup.psfhosted.org>
2021-08-30 15:30:43petr.viktorinlinkissue45025 messages
2021-08-30 15:30:43petr.viktorincreate