On Sat, Feb 5, 2022 at 5:18 AM Steve Dower <steve.do...@python.org> wrote:
> The gap this has with what I'd like to see is that it will only work for > compile-time strings. If instead it could work for an arbitrary uint8_t > pointer, rather than an embedded array, that allows even runtime strings > to be very cheaply passed into the interpreter (and yes, the caller has > to manage the lifetime, but that's pretty easy). > What's the use case for that, that isn't covered by PyUnicode_FromString()? -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/QGSWDGQEL7TFIC6YM7H7BM5PQJKTWM56/ Code of Conduct: http://python.org/psf/codeofconduct/