by justinsaccount · 4y ago · 0 comments
> It takes about 50ms to parse an int string with 100,000 digits and about 5sec for 1,000,000 digits. The float type, decimal type, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected.
Sure seems strange to set the limit to 4300. 50ms is not a DoS.
that's only 20req/sec to fill a core of execution
Turning on that behavior for all python code in a patch release with only a global override is sloppy.