I am porting the Python 3 backend in Cantor to use Python/C API instead DBus. The idea is allow this backend work in different platforms like Windows and OS X (where there is not DBus).
This patch is a Work-in-Progress related to T7167.
I am porting the Python 3 backend in Cantor to use Python/C API instead DBus. The idea is allow this backend work in different platforms like Windows and OS X (where there is not DBus).
This patch is a Work-in-Progress related to T7167.
Lint Skipped |
Unit Tests Skipped |
src/backends/python2/python2backend.cpp | ||
---|---|---|
37 | I need to ask someone to try if this change doesn't impact with Bug 330032. | |
src/backends/python3/python3backend.cpp | ||
32 | I would like to provide a way to use the Python 3 library found by CMake. That is not a problem in the case of Python 2 because there will be not a Python 2.8 release. It is not the case to Python 3 library. |
src/backends/python3/python3backend.cpp | ||
---|---|---|
33 | I need to ask someone to try if it is ok and there is not problem with some imports in Python, like with the same change in python2backend.cpp. |
An additional problem: I need to remove the import of matplotlib from cantor/src/backends/python/import_default_modules.py if not Cantor breaks when I start Python 3 backend. It needs some investigation.