[Python-3000] Implementing Abstract Interface for Numbers
Rob Crowther
weilawei at gmail.com
Thu Sep 20 02:34:23 CEST 2007
This is the documentation for PyNumberMethods right now.
PyNumberMethods *tp_as_number;
XXX
I've managed to wrap GNU MP floats and add rich comparisons, but there's a
sore lack of documentation on how to implement the Number interface. Given a
bit of pointers on where to look, an alpha version of this extension will be
available tomorrow, most likely.
Thanks for the help.
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20070919/20259ca7/attachment-0001.htm
More information about the Python-3000
mailing list