Did this fail any test? If not, it should come with one.

On Sat, Oct 13, 2012 at 9:26 PM, mattip <[email protected]> wrote:
> Author: mattip <[email protected]>
> Branch:
> Changeset: r58111:e537e0093563
> Date: 2012-10-13 21:26 +0200
> http://bitbucket.org/pypy/pypy/changeset/e537e0093563/
>
> Log:    fix for None in kwargs
>
> diff --git a/pypy/module/micronumpy/interp_numarray.py 
> b/pypy/module/micronumpy/interp_numarray.py
> --- a/pypy/module/micronumpy/interp_numarray.py
> +++ b/pypy/module/micronumpy/interp_numarray.py
> @@ -661,7 +661,7 @@
>              raise operationerrfmt(space.w_ValueError, "Unknown order: %s",
>                                    order)
>      if isinstance(w_object, W_NDimArray):
> -        if (not space.is_w(w_dtype, space.w_None) and
> +        if (not space.is_none(w_dtype) and
>              w_object.get_dtype() is not w_dtype):
>              raise OperationError(space.w_NotImplementedError, space.wrap(
>                                    "copying over different dtypes 
> unsupported"))
> _______________________________________________
> pypy-commit mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/pypy-commit
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to