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 serhiy.storchaka
Recipients mark.dickinson, python-dev, serhiy.storchaka, vajrasky, vstinner
Date 2013-08-05.13:26:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375709171.21.0.676539356568.issue18659@psf.upfronthosting.co.za>
In-reply-to
Content
We have _testcapi.INT_MAX.

I guess different exceptions raised on 64-bit platform. First parser checks that a number can be represented as Py_ssize_t (i.e. <= PY_SSIZE_T_MAX). Here "Too many decimal digits in format string" can be raised. Then precision passed to internal function which accepts int and checked to be <= INT_MAX before cast to int. Here "precision too big" can be raised.
History
Date User Action Args
2013-08-05 13:26:11serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, vstinner, python-dev, vajrasky
2013-08-05 13:26:11serhiy.storchakasetmessageid: <1375709171.21.0.676539356568.issue18659@psf.upfronthosting.co.za>
2013-08-05 13:26:11serhiy.storchakalinkissue18659 messages
2013-08-05 13:26:10serhiy.storchakacreate