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

Guido van Rossum gvanrossum at gmail.com
Sun Aug 29 03:53:47 CEST 2004


> array.array is the only type in the core that's a read buffer but not
> a character buffer, and I can't find any semantic differences between
> read and character buffers. If someone can explain the differences or
> confirm that there aren't any, I'll make this work. The easiest thing
> to do would be to make array support the character buffer API (but
> maybe only for [cbBu] types?).

Ah, that makes sense. And no please, keep it that way. It's compatible
with the idea that bytes arrays should be read from / written to
binary files.

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


More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant