14
0

- Update to 1.21:

* 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.
  * ``quicktions`` is compatible with freethreading Python (3.13+).
  * Accept leading zeros in precision/width for Fraction's formatting
  * In line with Python's ``Fraction``, quicktions now raises a
    ``ValueError`` (instead of an ``OverflowError``) when exceeding parser
    limits
  * Call ``__rpow__`` in ternary ``pow()`` if necessary
  * Built using Cython 3.1.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=29
This commit is contained in:
2025-07-21 03:57:31 +00:00
committed by Git OBS Bridge
parent 52342b8a6e
commit 859d94fc02
4 changed files with 21 additions and 5 deletions

View File

@@ -17,11 +17,10 @@
Name: python-quicktions
Version: 1.19
Version: 1.21
Release: 0
Summary: Fast fractions data type for rational numbers
License: Python-2.0
Group: Development/Languages/Python
URL: https://github.com/scoder/quicktions
Source: https://files.pythonhosted.org/packages/source/q/quicktions/quicktions-%{version}.tar.gz
BuildRequires: %{python_module Cython >= 3}