[Numpy-svn] r5030 - trunk/numpy/core/src

numpy-svn@scip... numpy-svn@scip...
Sun Apr 13 12:52:00 CDT 2008


Author: charris
Date: 2008-04-13 12:51:58 -0500 (Sun, 13 Apr 2008)
New Revision: 5030

Modified:
   trunk/numpy/core/src/arraytypes.inc.src
Log:
Make integers smaller than Long convert strings when possible.
There is still a problem with the dimensions of the resulting array,
but that problem is in the array creation code.


Modified: trunk/numpy/core/src/arraytypes.inc.src
===================================================================
--- trunk/numpy/core/src/arraytypes.inc.src	2008-04-13 17:43:32 UTC (rev 5029)
+++ trunk/numpy/core/src/arraytypes.inc.src	2008-04-13 17:51:58 UTC (rev 5030)
@@ -87,7 +87,7 @@
 
 #TYP=BOOL,BYTE,UBYTE,SHORT,USHORT,INT,LONG,UINT,ULONG,LONGLONG,ULONGLONG,FLOAT,DOUBLE#
 #func1=PyBool_FromLong, PyInt_FromLong*6, PyLong_FromUnsignedLong*2, PyLong_FromLongLong, PyLong_FromUnsignedLongLong, PyFloat_FromDouble*2#
-#func2=PyObject_IsTrue, PyInt_AsLong*6, MyPyLong_AsUnsignedLong*2, MyPyLong_AsLongLong, MyPyLong_AsUnsignedLongLong, MyPyFloat_AsDouble*2#
+#func2=PyObject_IsTrue, MyPyLong_AsLong*6, MyPyLong_AsUnsignedLong*2, MyPyLong_AsLongLong, MyPyLong_AsUnsignedLongLong, MyPyFloat_AsDouble*2#
 #typ=Bool, byte, ubyte, short, ushort, int, long, uint, ulong, longlong, ulonglong, float, double#
 #typ1=long*7, ulong*2, longlong, ulonglong, float, double#
 #kind=Bool, Byte, UByte, Short, UShort, Int, Long, UInt, ULong, LongLong, ULongLong, Float, Double#



More information about the Numpy-svn mailing list