Author r.david.murray
Recipients docs@python, ezio.melotti, r.david.murray, shreevatsa, vstinner
Date 2015-09-30.20:54:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443646482.81.0.18638309334.issue25275@psf.upfronthosting.co.za>
In-reply-to
Content
Good catch.  Yes, it is already documented that Int ignores leading and trailing whitespace.

But, even that isn't quite correct:

>>> 'A'.isdecimal()
False
>>> int('A', 16)
10

I seem to vaguely recall a discussion somewhere in this tracker about what "should" count as digits for larger-than-decimal radii, but I don't remember the outcome.
History
Date User Action Args
2015-09-30 20:54:42r.david.murraysetrecipients: + r.david.murray, vstinner, ezio.melotti, docs@python, shreevatsa
2015-09-30 20:54:42r.david.murraysetmessageid: <1443646482.81.0.18638309334.issue25275@psf.upfronthosting.co.za>
2015-09-30 20:54:42r.david.murraylinkissue25275 messages
2015-09-30 20:54:42r.david.murraycreate