[Python-3000] PEP 3127 (integer literal syntax) -- any takers?
Georg Brandl
g.brandl at gmx.net
Sat Jun 9 09:39:19 CEST 2007
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.
I have a patch lying around here which might be quite complete...
One thing that's unclear to me though: didn't we decide to drop the uppercase
string modfiers/number suffixes/prefixes?
Also, I'm not sure what int() should do with "010".
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.
More information about the Python-3000
mailing list