Delaney, Timothy (Tim) wrote: > Nope - pretty sure that an earlier version of Python defaulted to a > radix of 0, but it appears to default to a radix of 10 in Python 2.5. > > In any case, I've submitted a bug report and suggested new text for > the documentation of int() to make it clear what happens when a radix > is not specified.
Hmm - looks like I must have been misremembering from another language - it appears Python always used a default radix of 10. Anyway, the docs have been updated. Tim Delaney -- http://mail.python.org/mailman/listinfo/python-list