Re: [Cython] Fixing NumPy support for Python 3 (Stefan, please help!)

2011-02-18 Thread Stefan Behnel
Lisandro Dalcin, 18.02.2011 15:38: On 18 February 2011 02:19, Stefan Behnel wrote: Lisandro Dalcin, 17.02.2011 17:24: OK, I've found an alternative workaround. What do you think? diff --git a/Cython/Compiler/Interpreter.py b/Cython/Compiler/Interpreter.py index 83cb184..9fb5fe5 100644 --- a

Re: [Cython] Fixing NumPy support for Python 3 (Stefan, please help!)

2011-02-17 Thread Stefan Behnel
Lisandro Dalcin, 17.02.2011 17:24: On 17 February 2011 12:16, Stefan Behnel wrote: Lisandro Dalcin, 17.02.2011 15:32: Stefan, what do you think about the patch below? This hunk is part of a series of fixes required to get numpy-dev working under Python 3.2. The root of the issue is that __cyth

Re: [Cython] Fixing NumPy support for Python 3 (Stefan, please help!)

2011-02-17 Thread Stefan Behnel
Lisandro Dalcin, 17.02.2011 15:32: Stefan, what do you think about the patch below? This hunk is part of a series of fixes required to get numpy-dev working under Python 3.2. The root of the issue is that __cythonbufferdefaults__ keys&values end-up being "bytes" (this coercion is triggered in Int

[Cython] Fixing NumPy support for Python 3 (Stefan, please help!)

2011-02-17 Thread Lisandro Dalcin
Stefan, what do you think about the patch below? This hunk is part of a series of fixes required to get numpy-dev working under Python 3.2. The root of the issue is that __cythonbufferdefaults__ keys&values end-up being "bytes" (this coercion is triggered in Interpreter.py). diff --git a/Cython/C