gnucash unstable: Bug 791831 - Add python3 support

John Ralls jralls at code.gnucash.org
Sat Mar 17 18:10:13 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/a43b115a (commit)
	from  https://github.com/Gnucash/gnucash/commit/85ec07ec (commit)



commit a43b115a45a38cbe5c7533310543a31343212a44
Author: Julian Wollrath <jwollrath at web.de>
Date:   Thu Mar 15 09:35:31 2018 +0100

    Bug 791831 - Add python3 support
    
    This switches swig to use python 3 specific features when generating the
    bindings, switches the build over to python 3 and makes the neccesary
    python 2 to 3 conversions in the bindings and tests.



Summary of changes:
 CMakeLists.txt                               |  6 +--
 bindings/python/__init__.py                  |  2 +-
 bindings/python/function_class.py            | 34 ++++++------
 bindings/python/gnucash_business.py          | 28 +++++-----
 bindings/python/gnucash_core.py              | 78 +++++++++++++---------------
 bindings/python/tests/runTests.py.in         |  7 +--
 bindings/python/tests/test_account.py        |  4 +-
 bindings/python/tests/test_numeric.py        |  6 ---
 bindings/python/tests/test_split.py          |  6 +--
 bindings/python/tests/test_transaction.py    | 40 +++++++-------
 common/cmake_modules/GncAddSwigCommand.cmake |  2 +-
 gnucash/python/gncmod-python.c               |  4 ++
 12 files changed, 103 insertions(+), 114 deletions(-)



More information about the gnucash-patches mailing list