Hey,<br>now pyuno works with both Python 2 and Python 3. <br>Summary of the patch:<br>* Removed pyuno_dlopenwrapper.c and the corresponding stuff in the <a href="http://makefile.mk">makefile.mk</a>,<br>   because I do not see any sense in it. It works without dlopenwrapper.<br>
* Removed all tabs in source code, especially in python code and formatted the python code.<br>   Python 3 is stricter about indention.<br>* And of course, I made the C++ code compatible.<br><br>To compile with a specific system Python version, just set for example<br>
    PYTHON_CFLAGS=&quot;-I/usr/include/python2.7&quot;<br>    PYTHON_LIBS=&quot;/usr/lib/<a href="http://libpython2.7.so">libpython2.7.so</a> -lpthread -ldl -lutil&quot;<br>before running build.<br><br>I tested Python 2.7 and Python 3.2, but not the Python that comes with LibreOffice (it *should* work).<br>
Further testing is a good idea.<br>Perhaps LibO 3.4 is too early to include the patch, what do you mean?<br><br>A problem is, that most of the today&#39;s PyUno extensions will break, because they contain Python 2 code.<br>
PyUno that is compiled with Python 2 cannot be accessed by Python 3 and vice versa.<br><br>[Regarding replacing the Java FCFGMerge by the Python version: I did not forget it, but it is used by other modules than<br>filters, so I will see what I can do.]<br>
<br>--Andreas Becker<br clear="all"><br>-- <br>All my code in this e-mail is under LGPLv3+/MPL.<br><br>