[Python-ideas] str(<int>, base=<int>) as complement to int(<str>, base=<int>)

Jim Jewett jimjjewett at gmail.com
Thu Nov 1 20:13:02 CET 2007


On 11/1/07, Guido van Rossum <guido at python.org> wrote:
> We go over this about once a year. The conclusion is always the same:
> there isn't enough use for bases other than 2, 8, 10, 16 to bother
> including anything, and these are already covered by bin(), oct(),
> str() and hex(). (bin() is in 3.0 and to be backported to 2.6.)

Of course, if part of the deal were dropping bin, oct, and hex, that
might be a good trade.  But it may already be too late even for Py3.

-jJ



More information about the Python-ideas mailing list