gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sun Mar 20 15:34:19 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/7fbbd6e7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6a015c87 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/567df27c (commit)
	from  https://github.com/Gnucash/gnucash/commit/859b5720 (commit)



commit 7fbbd6e74593f67fd7ca122d5eb6e071807663c1
Merge: 859b57203 6a015c874
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Mar 20 12:26:42 2022 -0700

    Merge Christoph Holterman's 'python-gnc-numeric' into maint.

commit 6a015c87448b2ab405e12e543d1805c315bd8094
Author: Christoph Holtermann <mail at c-holtermann.net>
Date:   Sat Mar 19 15:57:57 2022 +0100

    make GncNumeric.invert() return GncNumeric

commit 567df27cc79f423c76d552bb202634ebc1c7e18d
Author: Christoph Holtermann <mail at c-holtermann.net>
Date:   Sat Mar 19 13:10:20 2022 +0100

    Implement some comparisons and arithmetics for GncNumeric
    
    Derive some numeric comparisons and arithmetics from Fraction
    class
    https://github.com/python/cpython/blob/3.7/Lib/fractions.py
    and general information from
    https://docs.python.org/3/library/numbers.html#numbers.Integral
    
    These methods are bound closer to the gnucash-C-api than those
    from the fraction class.
    
    This is not the full set of comparisons and arithmetics, needs
    to be extended. It would be good to extend tests to cover this.



Summary of changes:
 bindings/python/gnucash_core.py | 140 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 136 insertions(+), 4 deletions(-)



More information about the gnucash-patches mailing list