Tags: scoder/quicktions
Tags
1.20 (2025-06-13) ----------------- * ``quicktions`` is compatible with freethreading Python (3.13+). * Accept leading zeros in precision/width for Fraction's formatting, following python/cpython#130663 * In line with Python's ``Fraction``, quicktions now raises a ``ValueError`` (instead of an ``OverflowError``) when exceeding parser limits, following python/cpython#134010 * Call ``__rpow__`` in ternary ``pow()`` if necessary, following python/cpython#130251 * Built using Cython 3.1.2.
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. python/cpython#120271 * Add a classmethod ``.from_number()`` that requires a number argument, not a string. python/cpython#121800 * Mixed calculations with other ``Rational`` classes could return the wrong type. python/cpython#119189 * In mixed calculations with ``complex``, the Fraction is now converted to ``float`` instead of ``complex`` to avoid certain corner cases in complex calculation. python/cpython#119839 * Using ``complex`` numbers in division shows better tracebacks. python/cpython#102842 * Subclass instantiations and calculations could fail in some cases.
PreviousNext