> On 28 Dec 2020, at 03:58, Greg Ewing <[email protected]> wrote: > > Rather than a full-blown buffer-protocol-like thing, could we > get by with something simpler? How about just having a flag > in the unicode object indicating that it doesn't own the > memory that it points to?
I don’t know about the OP, but for me that wouldn’t be good enough as I’d still have to copy the string value because of the semantics of ObjC strings. Ronald — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ <https://blog.ronaldoussoren.net/>
_______________________________________________ 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/D4LABINWQ6ZFPLDFRP6AL2PWCBA343DI/ Code of Conduct: http://python.org/psf/codeofconduct/
