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 gdr@garethrees.org
Recipients gdr@garethrees.org, mark.dickinson, ncoghlan, pitrou, skrah, vstinner
Date 2014-02-07.15:24:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391786671.05.0.0576622236881.issue20539@psf.upfronthosting.co.za>
In-reply-to
Content
It's not a case of internal storage overflowing. The error is from
Modules/mathmodule.c:1426 and it's the input 10**19 that's too large
to convert to a C long. You get the same kind of error in other
places where PyLong_AsLong or PyLong_AsInt is called on a
user-supplied value, for example:

    >>> import pickle
    >>> pickle.dumps(10**19, 10**19)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    OverflowError: Python int too large to convert to C long
History
Date User Action Args
2014-02-07 15:24:31gdr@garethrees.orgsetrecipients: + gdr@garethrees.org, mark.dickinson, ncoghlan, pitrou, vstinner, skrah
2014-02-07 15:24:31gdr@garethrees.orgsetmessageid: <1391786671.05.0.0576622236881.issue20539@psf.upfronthosting.co.za>
2014-02-07 15:24:30gdr@garethrees.orglinkissue20539 messages
2014-02-07 15:24:30gdr@garethrees.orgcreate