Message194478
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. |
|
Date |
User |
Action |
Args |
2013-08-05 13:26:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, vstinner, python-dev, vajrasky |
2013-08-05 13:26:11 | serhiy.storchaka | set | messageid: <1375709171.21.0.676539356568.issue18659@psf.upfronthosting.co.za> |
2013-08-05 13:26:11 | serhiy.storchaka | link | issue18659 messages |
2013-08-05 13:26:10 | serhiy.storchaka | create | |
|