fontforge/fontforge — pull request #109 by dmeranda (2012-09-17 21:11:12+00:00)
Title: Add Python 3.x support for scripting

This patch makes it possible for FontForge to use either Python 2.x or Python 3.x; though FontForge has to be compiled against only one Python version of your choosing. For complete details see the commit messages.

There is little end-user visible changes, except of course that Python 3 can be used for writing scripts. The bulk of the changes significantly overhaul the code, especially related to all the python initialization functions.

The visible differences include:
* Initialization scripts are now searched for in a python-specific config dir first
* The fontforge and psMat modules are now automatically imported in embeded-python mode
* The fontforge module has two new methods: scriptPath() and runInitScripts()
* The names of some secondary python classes have changed to be more consistent. Mostly this affects classes that are transient and can not be instantiated, like iterators, so the change would only matter if you attempted to use isinstance() for example.