Cage opened this issue on Dec 20, 2006 ยท 1232 posts
adp001 posted Thu, 13 March 2008 at 7:00 PM
Havn't used this before, but looks like the right tool for you.
Pyrex lets you write code that mixes Python and C data types any way you want, and compiles it into a C extension for Python.
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
Works with Python >= 2.3