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 mark.dickinson
Recipients christian.heimes, eric.smith, jkloth, mark.dickinson, vstinner, zach.ware
Date 2013-11-23.19:49:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385236143.92.0.449487769432.issue19638@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-11-23 19:49:03mark.dickinsonsetrecipients: + mark.dickinson, vstinner, eric.smith, christian.heimes, jkloth, zach.ware
2013-11-23 19:49:03mark.dickinsonsetmessageid: <1385236143.92.0.449487769432.issue19638@psf.upfronthosting.co.za>
2013-11-23 19:49:03mark.dickinsonlinkissue19638 messages
2013-11-23 19:49:03mark.dickinsoncreate