Dear Raphaël:
I've actually been pushing for this change for quite some time now. When I first started writing Python code, it was in version 2, but I discovered version 3 on my own while trying to write other scripts independent of Inkscape - this is where I became a professional in the language.
We should definitely make the leap to Python 3, since it has innumerably more features and optimisations over Python 2. My SVG optimisation script, Rarify, and the Kinross vector library that it's a part of are in Python 3.5; many other scripts by other people use this same dialect. As a stretch goal, why not make it compatible with Python 4 as well when it comes out? All this will be good for Inkscape.
And I want it done before I'm admitted to Cambridge in August 2017.
Parcly Taxel, Princess of Science On 13 Mar 2016 18:54, "Raphaël Bournhonesque" <raphael0202@...48...> wrote:
Hello, As you may know, Python 3 release introduced a break of compatibility with Python 2.7. Currently, Inkscape Python extensions (and the inkex.py file) is only compatible with Python 2. It is possible to make the code compatible with both versions, but some external modules (such as six or python-future) are necessary.
I think it is necessary to switch to a Python 3 compatible codebase, to attract new extensions developers, and for the ease of maintenance.
What is your opinion on this matter ?
Raphaël
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel