efficiently create and fill array.array from C code?

geremy condra debatem1 at gmail.com
Sun Jun 13 18:20:36 EDT 2010


On Sun, Jun 13, 2010 at 1:20 PM, Robert Kern <robert.kern at gmail.com> wrote:
> On 2010-06-13 14:17 , Stefan Behnel wrote:
>>
>> Stephen Hansen, 13.06.2010 21:05:
>>>
>>> On 6/13/10 11:41 AM, Stefan Behnel wrote:
>>>>
>>>> Take a look at a) NumPy and b) Cython. You can also use Cython with the
>>>> array module, but NumPy is a much more common way to deal with "number
>>>> crunching routines", especially multi-dimentional arrays.
>>>
>>> Does Cython support Py3k yet? The OP seemed to be concerned about using
>>> numpy due to it not yet being ready for 3+.
>>
>> I didn't read that from the post, but you may be right.
>>
>> Cython supports Py 2.3-3.1+, but NumPy still does not support Py3k (they
>> are actually considering to rewrite parts of it in Cython to simplify
>> the migration ;).
>
> The latest SVN of numpy works in Python 3.1 already. There are still some
> things to be fixed, but it's mostly done.

This is excellent news, thanks for pointing this out.

Geremy Condra



More information about the Python-list mailing list