Looks interesting. The first change to py-func/plugin.xml.in introduces whitespace at the start and end of the description. That doesn't look right.
Why the changes to python-loader/python-loader.c?