[Python-Dev] Re: adding a bytes sequence type to Python

Guido van Rossum guido at python.org
Tue Aug 17 17:27:20 CEST 2004


> A big +1 for a bytes() type, though. I'm not sure on the details,
> but it'd be nice if it was possible to pass a bytes() object to,
> for instance, write() directly.

That should already possible with the array module, but somehow it
doesn't quite work, even though the array type appears to support the
buffer API.  (Does anybody understand why not?)

--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list