Rational numbers / alternatives to mxNumber
Martin Manns
mmanns at gmx.de
Fri Feb 23 12:38:54 EST 2007
On Fri, 23 Feb 2007 11:39:11 -0500
Martin Manns <mmanns at gmx.de> wrote:
> + boost indeed is a quite nice C++ library. However, I fear that I
> would end up writing the python wrappers for operators (+ - * / min
> max cmp etc.) myself. I would like to avoid this since these operators
> should work correctly for any type (not just int and float) and I have
> little experience with verifying such generic code. The problems
> encountered in the mxNumber wrapper support this notion.
I just saw the pyboost-linux-0.1.1 package and tried it out.
ImportError: /home/mn/notes/libboost_python.so.1.34.0: undefined
symbol: PyUnicodeUCS4_FromEncodedObject
It seems to have problems with UCS2 compiled python.
Any robust rational wrapper out there?
More information about the Python-list
mailing list