Skip to content

Releases: scoder/quicktions

1.21

13 Jun 20:15
Compare
Choose a tag to compare
1.21 (2025-06-13)

-----------------

* A serious parser bug could accidentally concatenate numerator and denominator
  as final denominator when parsing "x/y" where x or y are close to ``sys.maxsize``,
  thus returning a ``Fraction("x/xy")``.

* MSVC and clang now also benefit from fast "count trailing zeroes" intrinsics.

1.20

13 Jun 03:31
Compare
Choose a tag to compare
1.20 (2025-06-13)

-----------------

* ``quicktions`` is compatible with freethreading Python (3.13+).

* Accept leading zeros in precision/width for Fraction's formatting, following
  https://github.com/python/cpython/pull/130663

* In line with Python's ``Fraction``, quicktions now raises a ``ValueError``
  (instead of an ``OverflowError``) when exceeding parser limits, following
  https://github.com/python/cpython/pull/134010

* Call ``__rpow__`` in ternary ``pow()`` if necessary, following
  https://github.com/python/cpython/pull/130251

* Built using Cython 3.1.2.

1.19

29 Nov 09:23
Compare
Choose a tag to compare
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.

1.18

03 Apr 08:27
Compare
Choose a tag to compare
1.18 (2024-04-03)

-----------------

* New binary wheels were added built with gcc 12 (manylinux_2_28).

* x86_64 wheels now require SSE4.2.

* Built using Cython 3.0.10.

1.17

24 Mar 20:32
Compare
Choose a tag to compare
1.17

1.16

10 Jan 11:24
Compare
Choose a tag to compare
1.16

1.16-1

10 Jan 15:11
Compare
Choose a tag to compare
1.16-1

1.15

27 Aug 10:07
Compare
Choose a tag to compare
1.15

1.14

19 Mar 16:08
Compare
Choose a tag to compare
1.14

1.13

11 Jan 14:43
Compare
Choose a tag to compare
1.13