[Python-3000] PEP 3127 (integer literal syntax) -- any takers?

Georg Brandl g.brandl at gmx.net
Mon Jun 11 01:02:31 CEST 2007


Guido van Rossum schrieb:
> 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?

Would that also require a __bin__() special method?

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