Cython used the private _PyUnicodeWriter API (and stopped using it on Py3.11 when it was hidden more thoroughly) so would probably make use of a public API to do the same thing. It's an optimization rather than an essential of course _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/2PWRAACTQVGDYEYBQXERBHOMSAOKIKF3/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-Dev] New public PyUnicodeBuilder C API Victor Stinner
- [Python-Dev] Re: New public PyUnicodeBuilder C API dw-git
- [Python-Dev] Re: New public PyUnicodeBuilder C API Victor Stinner
- [Python-Dev] Re: New public PyUnicodeBuilder C API Antoine Pitrou
- [Python-Dev] Re: New public PyUnicodeBuilder C API Victor Stinner
- [Python-Dev] Re: New public PyUnicodeBuilder C... Antoine Pitrou