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 dev00790
Recipients dev00790
Date 2020-04-25.08:56:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587804987.95.0.247989027545.issue40388@roundup.psfhosted.org>
In-reply-to
Content
Filename: random.py
Location of file: /use/lib/python3.5/random.py
Function: random.choice()
Input: 40 digit integer
Expected output: no crash
Actual output: Crash
Line number: 253
Error message: "Python int too large to convert to C ssize_t"

Traceback:
a = random.choice(sequence)
i= self._randbelow(len(seq))

Error occurs on last line 253.
History
Date User Action Args
2020-04-25 08:56:28dev00790setrecipients: + dev00790
2020-04-25 08:56:27dev00790setmessageid: <1587804987.95.0.247989027545.issue40388@roundup.psfhosted.org>
2020-04-25 08:56:27dev00790linkissue40388 messages
2020-04-25 08:56:26dev00790create