Message5585

Author pjenvey
Recipients pjenvey, pr3d4t0r, zyasoft
Date 2010-03-21.22:31:29
SpamBayes Score 1.2639846e-05
Marked as misclassified No
Message-id <1269210689.88.0.671636324292.issue1571@psf.upfronthosting.co.za>
In-reply-to
Content
I think part of the call path down to atoi/atol is unnecessary now too. I'm not sure we even need separate atoi/atol methods now, I don't think we ever need to ask for a Java primitive int or long from a string object, what we always ask for is a Python number object from a string. Especially with the int/long converging

In that case we could combine the two functions and remove the OverflowException

Not to mention that PyString implementing __int/long/float__ is annoying. We still have an occasional case where you can pass a '1' into as a numeric argument and it's treated as valid
History
Date User Action Args
2010-03-21 22:31:29pjenveysetmessageid: <1269210689.88.0.671636324292.issue1571@psf.upfronthosting.co.za>
2010-03-21 22:31:29pjenveysetrecipients: + pjenvey, zyasoft, pr3d4t0r
2010-03-21 22:31:29pjenveylinkissue1571 messages
2010-03-21 22:31:29pjenveycreate