[Python-3000] Octal

Patrick Maupin pmaupin at gmail.com
Thu Mar 15 22:15:22 CET 2007


On 3/15/07, Tim Peters <tim.peters at gmail.com> wrote:

>     2r1010
>     4r22
>     8r12
>     16ra (or) 16rA
>

Part of me would miss 0xABCD terrbly, but I like the concept.  The
only real rub is the impending huge discussion about the number of
allowed radices.  The max 36 radix currently supported by int() is
numerically suspiciously similar to the sum of the number of ASCII
digit characters and the number of same-case ASCII letters, so
obviously, a tempting answer to the question "How many radices should
we support?" is "All of them."

Regards,
Pat


More information about the Python-3000 mailing list