[Python-3000] PEP 3137 plan of attack

Brett Cannon brett at python.org
Tue Oct 16 03:45:30 CEST 2007


On 10/15/07, Guido van Rossum <guido at python.org> wrote:
> On 10/15/07, Guido van Rossum <guido at python.org> wrote:
> > There's one thing that I forgot to add to PEP 3137. It's the removal
> > of the basestring type. I think this is a reasonable thing to do.
> > Christian Heimes has a patch that does this cleanly. Anyone objecting,
> > please speak up now!
>
> And, quite separately, we will need a common base type for bytes and
> buffer. I think that should be an ABC in the collections module
> though, which simply registers bytes and buffer. Any suggestions for a
> name?

BinaryData, RawData.  I use both 'binary' and 'raw' in my variable
names when I have used bytes so that's why those names pop into my
head.

-Brett


More information about the Python-3000 mailing list