You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In complicated systems, it is often the case that fixing your bug causes a new bug for others. The latest CPython bugfix releases have introduced a breaking change in conversions between large integers and strings. So far, no alternate API has been provided except for changing global settings (which is not appropriate for libraries).
There are at least 3 places in this library affected by this change.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.10/site-packages/donuts/poly.py", line 74, in __init__
self._raw = _RawPolynomial(str(value))
ValueError: Exceeds the limit (4300) for integer string conversion
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.10/site-packages/donuts/poly.py", line 266, in as_integer
return int(str(self))
ValueError: Exceeds the limit (4300) for integer string conversion: value has 4301 digits
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.10/site-packages/donuts/rat.py", line 64, in __init__
self._raw = _RawRationalFunction(str(numerator))
ValueError: Exceeds the limit (4300) for integer string conversion
The text was updated successfully, but these errors were encountered:
In complicated systems, it is often the case that fixing your bug causes a new bug for others. The latest CPython bugfix releases have introduced a breaking change in conversions between large integers and strings. So far, no alternate API has been provided except for changing global settings (which is not appropriate for libraries).
There are at least 3 places in this library affected by this change.
donuts-python/donuts/poly.py
Line 74 in 5791d9c
donuts-python/donuts/poly.py
Line 266 in 5791d9c
donuts-python/donuts/rat.py
Line 64 in 5791d9c
The text was updated successfully, but these errors were encountered: