[C++-sig] [Boost.Python] exporting GMP numbers to Python

Jan Langer jan at langernetz.de
Tue Nov 29 12:20:05 CET 2005


Hello,
I have a c++ library I want to use as a python module. This works quite
nice now (thanks to Joel's bugfix). However, some functions of the
library return arbitrary precision numbers (GMP) and I need to access
them in Python.

I found a working GMP Python wrapper in the GMPY module, but I have
simply no idea how use it for my purpose.
Maybe someone has a link or something similar for me.
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20051129/b0ac4f2a/attachment.pgp>


More information about the Cplusplus-sig mailing list