[NumPy-Tickets] [NumPy] #1919: import_umath macro has return type incompatible with Python 3
NumPy Trac
numpy-tickets@scipy....
Sat Jul 30 11:58:23 CDT 2011
#1919: import_umath macro has return type incompatible with Python 3
------------------------+---------------------------------------------------
Reporter: Arfrever | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: 1.6.0
Keywords: |
------------------------+---------------------------------------------------
import_umath macro (generated by
numpy/core/code_generators/generate_ufunc_api.py) currently always returns
void, which causes compilation failure when trying to use this function in
an init function in extension module with Python 3.
I suggest that the same solution be implemented, which is used for
import_array macro (generated by
numpy/core/code_generators/generate_numpy_api.py). I'm attaching the
patch.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1919>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list