[Python-3000] PEP 3127 (integer literal syntax) -- any takers?
Guido van Rossum
guido at python.org
Mon Jun 11 00:54:09 CEST 2007
Very cool; thanks!!! No problems so far.
I wonder if we need a bin() built-in that is to 0b like oct() is to 0o
and hex() to 0x?
--Guido
On 6/10/07, Georg Brandl <g.brandl at gmx.net> wrote:
> Guido van Rossum schrieb:
> > PEP 3127 (Integer Literal Support and Syntax) introduces new notations
> > for octal and binary integers. This isn't implemented yet. Are there
> > any takers? It shouldn't be particularly complicated.
>
> Okay, it's done.
>
> I'll be grateful for reviews. I've also removed traces of the "L" literal
> suffix where I encountered them, but may not have gotten them all.
>
> Georg
>
> --
> Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
> Four shall be the number of spaces thou shalt indent, and the number of thy
> indenting shall be four. Eight shalt thou not indent, nor either indent thou
> two, excepting that thou then proceed to four. Tabs are right out.
>
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
>
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000
mailing list