0320537185
Accepting request 1296038 from devel:languages:python
...
- 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/request/show/1296038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=14
2025-07-28 12:58:57 +00:00
859d94fc02
- 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
2025-07-21 03:57:31 +00:00
2d5821d770
Accepting request 1239866 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1239866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=13
2025-01-23 17:05:54 +00:00
52342b8a6e
Accepting request 1239854 from home:glaubitz:branches:devel:languages:python
...
- Update to 1.19
* 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.
* Add a classmethod ``.from_number()`` that requires a number argument,
not a string.
* Mixed calculations with other ``Rational`` classes could return the
wrong type.
* In mixed calculations with ``complex``, the Fraction is now converted
to ``float`` instead of ``complex`` to avoid certain corner cases in
complex calculation.
* Using ``complex`` numbers in division shows better tracebacks.
* Subclass instantiations and calculations could fail in some cases.
OBS-URL: https://build.opensuse.org/request/show/1239854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=27
2025-01-23 12:57:53 +00:00
b6a842a690
Accepting request 1181278 from devel:languages:python
...
Automatic submission by obs-autosubmit
OBS-URL: https://build.opensuse.org/request/show/1181278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=12
2024-06-17 17:33:43 +00:00
c31428d11c
- use PEP517/wheel build
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=25
2024-06-10 09:53:21 +00:00
6df53e2b9f
- update to 1.18:
...
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=24
2024-06-10 09:45:54 +00:00
6f3a151811
Accepting request 1161385 from devel:languages:python
...
- update to 1.17:
* Math operations were sped up by inlined binary GCD
calculation.
OBS-URL: https://build.opensuse.org/request/show/1161385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=11
2024-03-25 20:12:37 +00:00
4ef4b376fe
- update to 1.17:
...
* Math operations were sped up by inlined binary GCD
calculation.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=22
2024-03-25 12:27:06 +00:00
881fbc3bd6
Accepting request 1140281 from devel:languages:python
...
- update to 1.16:
* Formatting support was improved, following CPython 3.13a3 as
of https://github.com/python/cpython/pull/111320
* Add support for Python 3.13 by using Cython 3.0.8 and calling
math.gcd().
OBS-URL: https://build.opensuse.org/request/show/1140281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=10
2024-01-21 22:10:15 +00:00
3b8fb9e64a
- update to 1.16:
...
* Formatting support was improved, following CPython 3.13a3 as
of https://github.com/python/cpython/pull/111320
* Add support for Python 3.13 by using Cython 3.0.8 and calling
math.gcd().
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=20
2024-01-21 11:21:54 +00:00
825dabad2e
Accepting request 1132078 from devel:languages:python
...
- update to 1.15:
* Add support for Python 3.12 by using Cython 3.0.2.
- use generic Cython dependency >= 3.0
OBS-URL: https://build.opensuse.org/request/show/1132078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=9
2023-12-08 21:33:24 +00:00
3ff56a95b4
- use generic Cython dependency >= 3.0
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=18
2023-12-08 12:06:56 +00:00
e55bcedd7b
- update to 1.15:
...
* Add support for Python 3.12 by using Cython 3.0.2.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=17
2023-12-08 12:06:35 +00:00
475de96f97
Accepting request 1103748 from devel:languages:python
...
- use generic Cython dependency >= 3.0
OBS-URL: https://build.opensuse.org/request/show/1103748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=8
2023-08-14 20:35:38 +00:00
7ea2c20d8b
- use generic Cython dependency >= 3.0
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=15
2023-08-13 21:41:22 +00:00
91e63df77b
Accepting request 1073017 from devel:languages:python
...
- Enable python 3.11 build again, now is supported
- Update to 1.14
- Implement __format__ for Fraction, following python/cpython#100161
- Implement Fraction.is_integer(), following python/cpython#100488
- Fraction.limit_denominator() is faster, following
python/cpython#93730
- Internal creation of result Fractions is about 10% faster if the
calculated numerator/denominator pair is already normalised,
following python/cpython#101780
- Built using Cython 3.0.0b1.
- 1.13
- Parsing very long numbers from a fraction string was very slow,
even slower than fractions.Fraction. The parser is now faster in
all cases (and still much faster for shorter numbers).
- Fraction did not implement __int__.
https://bugs.python.org/issue44547
- 1.12
- Faster and more space friendly pickling and unpickling.
https://bugs.python.org/issue44154
- Algorithmically faster arithmetic for large denominators, although
slower for small fraction components.
https://bugs.python.org/issue43420 Original patch for CPython by
Sergey B. Kirpichev and Raymond Hettinger.
- Make sure bool(Fraction) always returns a bool.
https://bugs.python.org/issue39274
- Built using Cython 3.0.0a10.
OBS-URL: https://build.opensuse.org/request/show/1073017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=7
2023-03-21 16:40:41 +00:00
b0e3dbb56b
- Enable python 3.11 build again, now is supported
...
- Update to 1.14
- Implement __format__ for Fraction, following python/cpython#100161
- Implement Fraction.is_integer(), following python/cpython#100488
- Fraction.limit_denominator() is faster, following
python/cpython#93730
- Internal creation of result Fractions is about 10% faster if the
calculated numerator/denominator pair is already normalised,
following python/cpython#101780
- Built using Cython 3.0.0b1.
- 1.13
- Parsing very long numbers from a fraction string was very slow,
even slower than fractions.Fraction. The parser is now faster in
all cases (and still much faster for shorter numbers).
- Fraction did not implement __int__.
https://bugs.python.org/issue44547
- 1.12
- Faster and more space friendly pickling and unpickling.
https://bugs.python.org/issue44154
- Algorithmically faster arithmetic for large denominators, although
slower for small fraction components.
https://bugs.python.org/issue43420 Original patch for CPython by
Sergey B. Kirpichev and Raymond Hettinger.
- Make sure bool(Fraction) always returns a bool.
https://bugs.python.org/issue39274
- Built using Cython 3.0.0a10.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=13
2023-03-20 06:46:13 +00:00
06694bcb82
Accepting request 1066942 from devel:languages:python
...
- Skip python 3.11, it's not supported yet
gh#scoder/quicktions#6
OBS-URL: https://build.opensuse.org/request/show/1066942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=6
2023-02-21 14:36:26 +00:00
b3cc3948f6
- Skip python 3.11, it's not supported yet
...
gh#scoder/quicktions#6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=11
2023-02-21 08:51:27 +00:00
264273c1d7
Accepting request 786785 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/786785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=5
2020-03-20 22:57:15 +00:00
Tomáš Chvátal
57ee181741
Accepting request 786774 from home:pgajdos:python
...
- version update to 1.11
* Fix ``OverflowError`` when parsing string values with long decimal parts.
OBS-URL: https://build.opensuse.org/request/show/786774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=9
2020-03-20 09:17:08 +00:00
1892780254
Accepting request 729803 from devel:languages:python
...
- Update to 1.10:
* New method fraction.as_integer_ratio()
* python 3.8 fixes
OBS-URL: https://build.opensuse.org/request/show/729803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=4
2019-09-11 08:35:56 +00:00
Tomáš Chvátal
9ee621e1f3
- Update to 1.10:
...
* New method fraction.as_integer_ratio()
* python 3.8 fixes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=7
2019-09-10 10:59:37 +00:00
408da4fe9c
Accepting request 702947 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/702947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=3
2019-05-22 10:19:39 +00:00
Tomáš Chvátal
0ff2f21b8b
Accepting request 702945 from home:jjolly:branches:devel:languages:python
...
- Update to 1.9
+ Substantially faster normalisation (and therefore instantiation)
in Py3.5+.
+ // (floordiv) now follows the expected rounding behaviour when used
with floats (by converting to float first), and is much faster for
integer operations.
+ Fix return type of divmod(), where the first item should be an integer.
+ Further speed up mod and divmod operations.
- Update to 1.8
+ Faster mod and divmod calculation.
- Update to 1.7
+ Faster normalisation and fraction string parsing.
+ Add support for Python 3.7.
+ Built using Cython 0.29.
- Changed %check to use %pytest_arch
OBS-URL: https://build.opensuse.org/request/show/702945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=5
2019-05-14 18:56:45 +00:00
3b6000fc5a
Accepting request 617148 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/617148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=2
2018-06-19 10:03:25 +00:00
Todd R
3597de1543
Accepting request 617147 from home:TheBlackCat:branches:devel:languages:python
...
- Use more compatible py.test syntax.
OBS-URL: https://build.opensuse.org/request/show/617147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=3
2018-06-15 20:45:00 +00:00
0dc1673c50
Accepting request 609891 from devel:languages:python
...
Fast fractions data type for rational numbers
OBS-URL: https://build.opensuse.org/request/show/609891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-quicktions?expand=0&rev=1
2018-05-29 08:28:31 +00:00
Todd R
9f77e09141
Accepting request 609873 from devel:languages:python:misc
...
Fast fractions data type for rational numbers
OBS-URL: https://build.opensuse.org/request/show/609873
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=1
2018-05-16 17:36:41 +00:00