[PATCH] Switch to python 3

2018-03-16 Thread Julian Wollrath
This switches swig to use python 3 specific features, switches the build over to python 3 and adapts the tests accordingly. --- CMakeLists.txt | 6 +-- bindings/python/__init__.py | 2 +- bindings/python/function_class.py| 34 ++

Python 3 support

2018-03-16 Thread Julian Wollrath
Hi, gnucash currently does not work with python 3. The attached patch changes this and switches the python bindings over to python 3. In principle, they should also work with python 2 (the only change that could be problematic is the deletion of the unicode part in gnucash_core.py, to make it work