[Numpy-svn] r3365 - trunk/numpy/f2py

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Oct 19 05:11:44 CDT 2006


Author: pearu
Date: 2006-10-19 05:11:40 -0500 (Thu, 19 Oct 2006)
New Revision: 3365

Modified:
   trunk/numpy/f2py/capi_maps.py
Log:
f2py-2e is not ready for PyArray_STRING, using PyArray_CHAR for now (character*n support has improved in f2py-g3.).

Modified: trunk/numpy/f2py/capi_maps.py
===================================================================
--- trunk/numpy/f2py/capi_maps.py	2006-10-19 04:46:19 UTC (rev 3364)
+++ trunk/numpy/f2py/capi_maps.py	2006-10-19 10:11:40 UTC (rev 3365)
@@ -83,7 +83,10 @@
             'complex_float':'PyArray_CFLOAT',
             'complex_double':'PyArray_CDOUBLE',
             'complex_long_double':'PyArray_CDOUBLE',
-            'string':'PyArray_STRING'}
+            'string':'PyArray_CHAR', # f2py 2e is not ready for PyArray_STRING (must set itemisize etc)
+            #'string':'PyArray_STRING'
+                
+                }
 c2pycode_map={'double':'d',
               'float':'f',
               'long_double':'d',                       # forced casting



More information about the Numpy-svn mailing list