This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kjohnson
Recipients georg.brandl, kjohnson
Date 2008-09-14.11:58:05
SpamBayes Score 0.0003136783
Marked as misclassified No
Message-id <1221393486.32.0.176734593985.issue3866@psf.upfronthosting.co.za>
In-reply-to
Content
The library reference for int() says, "If radix is zero, the proper
radix is guessed based on the contents of string; the interpretation is
the same as for integer literals." The use of the word 'guess' implies
that there is some heuristic used here, that somehow the function will
look at an arbitrary number and figure out the correct radix. This can
confuse newbies:
http://mail.python.org/pipermail/tutor/2008-September/064268.html

'determined' might be a better word. For bonus points link to the
Language Reference page on integer literals:
http://docs.python.org/ref/integers.html
History
Date User Action Args
2008-09-14 11:58:06kjohnsonsetrecipients: + kjohnson, georg.brandl
2008-09-14 11:58:06kjohnsonsetmessageid: <1221393486.32.0.176734593985.issue3866@psf.upfronthosting.co.za>
2008-09-14 11:58:05kjohnsonlinkissue3866 messages
2008-09-14 11:58:05kjohnsoncreate