[Python-Dev] PEP 393: Flexible String Representation

Antoine Pitrou solipsis at pitrou.net
Sat Jan 29 14:21:14 CET 2011

On Sat, 29 Jan 2011 11:00:48 +0100
Stefan Behnel <stefan_ml at behnel.de> wrote:
> I know, that's not what I meant. But this PEP would enable a C API that 
> provides direct access to the underlying buffer. Just as is currently 
> provided for the Py_UNICODE array, but with a stable ABI because the buffer 
> type won't change based on build time options.
> OTOH, one could argue that this is already partly provided by the generic 
> buffer API.

Unicode objects don't provide the buffer API (and chances are they never



More information about the Python-Dev mailing list