Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python 3.11 introduced a length limitation in int -> str conversion as a solution to CVE-2020-10735. This impacts galois to create FieldArray with very large primes. Example: >>> import galois >>> p = galois.mersenne_primes()[23] >>> gf = galois.GF(p) The solution does not impact unaffected versions of Python because sys.set_int_max_str_digits() was introduced in Python 3.11.
- Loading branch information