Quicktions

Latest version: v1.18

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

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.

1.11

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

* Fix ``OverflowError`` when parsing string values with long decimal parts.

1.10

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

* ``hash(fraction)`` is substantially faster in Py3.8+, following an optimisation
in CPython 3.9 (https://bugs.python.org/issue37863).

* New method ``fraction.as_integer_ratio()``.

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.

1.8

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

* Faster mod and divmod calculation.

1.7

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

* Faster normalisation and fraction string parsing.

* Add support for Python 3.7.

* Built using Cython 0.29.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.