[Pyrex] Patches in the forked lxml Pyrex version

Stefan Behnel behnel_ml at gkec.informatik.tu-darmstadt.de
Fri Mar 24 09:25:36 CET 2006


Hi,

I finally integrated a few more patches into the forked Pyrex version.

It now contains the first three patches by David Cooke (especially the updated
version of 02 which works for me now) as well as the attached two patches.

The first one removes the creation of empty tuples for function calls. The
second one adds three functions to the code writer that support conditional
compilation based on the Python version. It uses that to replace the
step-by-step tuple creation by a call to PyTuple_Pack under Python 2.4. The
generated code is simply a "#if PY_VERSION_HEX >= ... #else #endif" around the
alternative code sequences.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-empty-tuples.patch
Type: text/x-patch
Size: 1498 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20060324/80d6fc82/no-empty-tuples.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyrex-conditional-compilation-by-python-version.patch
Type: text/x-patch
Size: 2889 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20060324/80d6fc82/pyrex-conditional-compilation-by-python-version.bin


More information about the Pyrex mailing list