[SciPy-Dev] scipy 0.10.0 release schedule update

Matthew Brett matthew.brett@gmail....
Sun Oct 30 17:22:35 CDT 2011


Hi,

On Sun, Oct 30, 2011 at 2:31 PM, Ralf Gommers
<ralf.gommers@googlemail.com> wrote:
>
> Ralf

It's just a one-liner fix to the compilation for cython 0.15, as far
as I can see:

diff --git a/scipy/io/matlab/mio5_utils.pyx b/scipy/io/matlab/mio5_utils.pyx
index cb15a00..1604a61 100644
--- a/scipy/io/matlab/mio5_utils.pyx
+++ b/scipy/io/matlab/mio5_utils.pyx
@@ -169,7 +169,7 @@ cdef class VarReader5:
     * mat_dtype (bool)
     * squeeze_me (bool)
     """
-    def __new__(self, preader):
+    def __cinit__(self, preader):
         byte_order = preader.byte_order
         self.is_swapped = byte_order == swapped_code
         if self.is_swapped:

Do you want me to build the c files with Cython 0.15 as well?

I've also put in a pull request to add the nice 'cythonize' script by
Dag Sverre:

https://github.com/scipy/scipy/pull/99

It's useful for making sure the c files are up to date.

See you,

Matthew


More information about the SciPy-Dev mailing list