[Python-Dev] str with base

Adam Olsen rhamph at gmail.com
Wed Jan 18 01:09:41 CET 2006


On 1/17/06, Guido van Rossum <guido at python.org> wrote:
> On 1/17/06, Adam Olsen <rhamph at gmail.com> wrote:
> > > In-favour-of-%2b-ly y'rs,
> >
> > My only opposition to this is that the byte type may want to use it.
> > I'd rather wait until byte is fully defined, implemented, and released
> > in a python version before that option is taken away.
>
> Has this been proposed? What would %b print?

I don't believe it's been proposed and I don't know what it'd print. 
Perhaps it indicates the bytes should be passed through without
conversion.

In any case I only advocate waiting until it's clear that bytes have
no need for it before we use it for binary conversions.

--
Adam Olsen, aka Rhamphoryncus


More information about the Python-Dev mailing list