[Numpy-discussion] rational custom dtype example

Steve Mitchell mitchell at intertrust.com
Sat Apr 2 15:59:11 EDT 2016


I have noticed a few issues with the "rational" custom C dtype example.


1.        It doesn't build on Windows.  I managed to tweak it to build.  Mainly, the MSVC9 compiler is C89.

2.       A few tests don't pass on Windows, due to integer sizes.

3.       The copyswap and copyswapn routines don't do in-place swapping if src == NULL, as specified in the docs.
http://docs.scipy.org/doc/numpy-1.10.0/reference/c-api.types-and-structures.html

  --Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20160402/103f3508/attachment.html>


More information about the NumPy-Discussion mailing list