Deprecating the direct use of str internals, e.g. PyASCIIObject, PyCompactUnicodeObject, PyUnicodeObject structs

Hi Petr, I’m mostly offline this week, so will likely only reply next week.

That could work.

For PyObjC I’d prefer a new API that creates the subtype instance from a UTF-8 buffer (a variant on PyUnicode_FromStringAndSize), that way I’d be isolated from changes in the representation of strings.

1 Like

Hi,
I am on paternity leave and will likely reply in a month.

(Ha! How’s that for a one-up?)