Message204082
I'm thinking of something like the attached patch, which limits nd to 2 billion, comfortably within the range of int on machines that Python's likely to meet. (If anyone's worried about machines with ints smaller than 32 bits, we could add a configure check for that.)
I don't think we can take the limit all the way to 2**31 - 1, since nd may be combined with the exponent (which is limited to less than 20000 in the current code), but a limit of 2 billion should be safe.
With this limit in place, it should then be safe to silence the warnings. |
|
Date |
User |
Action |
Args |
2013-11-23 19:49:03 | mark.dickinson | set | recipients:
+ mark.dickinson, vstinner, eric.smith, christian.heimes, jkloth, zach.ware |
2013-11-23 19:49:03 | mark.dickinson | set | messageid: <1385236143.92.0.449487769432.issue19638@psf.upfronthosting.co.za> |
2013-11-23 19:49:03 | mark.dickinson | link | issue19638 messages |
2013-11-23 19:49:03 | mark.dickinson | create | |
|