Prevent long (length > 10_000) strings/bytes as input to int fields, see python/cpython#95778 and CVE-2020-10735