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
1.19 (2024-11-29)
-----------------
* Support for Python 2.7 as well as 3.7 and earlier has been removed.
* Generally use ``.as_integer_ratio()`` in the constructor if available.
https://github.com/python/cpython/pull/120271
* Add a classmethod ``.from_number()`` that requires a number argument, not a string.
https://github.com/python/cpython/pull/121800
* Mixed calculations with other ``Rational`` classes could return the wrong type.
https://github.com/python/cpython/issues/119189
* In mixed calculations with ``complex``, the Fraction is now converted to ``float``
instead of ``complex`` to avoid certain corner cases in complex calculation.
https://github.com/python/cpython/pull/119839
* Using ``complex`` numbers in division shows better tracebacks.
https://github.com/python/cpython/pull/102842
* Subclass instantiations and calculations could fail in some cases.