▲ | jazzyjackson a month ago | |||||||
yes, python falls into the sane language category with arbitrary-precision arithmetic | ||||||||
▲ | faresahmed a month ago | parent [-] | |||||||
Not so much,
This was done to prevent DoS attacks 3 years ago and have been backported to at least CPython 3.9 as it was considered a CVE.Relevant discussion: https://news.ycombinator.com/item?id=32753235 Your sibling comment suggests using decimal.Decimal which handles parsing >4300 digit numbers (by default). | ||||||||
|