[SciPy-Dev] scipy 0.10.0 release schedule update

Ralf Gommers ralf.gommers at googlemail.com
Sun Oct 30 18:56:07 EDT 2011


On Sun, Oct 30, 2011 at 11:22 PM, Matthew Brett <matthew.brett at gmail.com>wrote:

> Hi,
>
> On Sun, Oct 30, 2011 at 2:31 PM, Ralf Gommers
> <ralf.gommers at googlemail.com> wrote:
> >
> > Ralf
>
> It's just a one-liner fix to the compilation for cython 0.15, as far
> as I can see:
>

That's good news.

>
> 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?
>

Either way is fine. All Cython files should be regenerated in any case with
this fix included:
https://github.com/cython/cython/commit/0443ad3d55f0a4762d4009bc606cb98ee4f4a1d6

Thanks,
Ralf


> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20111030/b172390c/attachment.html>


More information about the SciPy-Dev mailing list