Travis E. Oliphant wrote:
>
> PyString_Check( *( ( PyObject ** )( pArray->data ) ) );
>
Thank you very much Travis! My mistake is now quite obvious (and
should have been right from the start).
Regarding NumPy, I probably should upgrade from Numeric. It's just
hard to change something that is c
goetzie wrote:
> I am using Python 2.4.1 and Numeric 23.8 and running on Windows XP. I
> am passing a Numeric array of strings (objects) to a C Extension module
> using the following python code:
Numeric 23.8 is *very* old and unsupported. Unless you absolutely have
to use Numeric (then use 24
I am using Python 2.4.1 and Numeric 23.8 and running on Windows XP. I
am passing a Numeric array of strings (objects) to a C Extension module
using the following python code:
import Numeric
import TestDLL# my C Extension Module
a = Numeric.array(['foo', 'bar'], 'O' )
print 'a =',