[Pyrex] bug in __Pyx_GetStarArgs()

Robert Bradshaw robertwb at math.washington.edu
Wed Sep 5 05:59:41 CEST 2007


I agree.

On Sep 3, 2007, at 11:11 AM, Stefan Behnel wrote:

> Hi,
>
> this looks like a typo to me.
>
> Stefan
>
>
> # HG changeset patch
> # User Stefan Behnel <scoder at users.berlios.de>
> # Date 1188842821 -7200
> # Node ID 43be72844df46438cdb02efda55a72b25211d19f
> # Parent  9d56bb355a54aaed721b4bd6d68c440e574bd371
> fixed typo
>
> diff -r 9d56bb355a54 -r 43be72844df4 Compiler/Nodes.py
> --- a/Compiler/Nodes.py Mon Sep 03 16:17:12 2007 +0200
> +++ b/Compiler/Nodes.py Mon Sep 03 20:07:01 2007 +0200
> @@ -2879,7 +2879,7 @@ static int __Pyx_GetStarArgs(
>          if (*kwds) {
>              char **p;
>              kwds1 = PyDict_New();
> -            if (!kwds)
> +            if (!kwds1)
>                  goto bad;
>              *kwds2 = PyDict_Copy(*kwds);
>              if (!*kwds2)
>
> _______________________________________________
> Pyrex mailing list
> Pyrex at lists.copyleft.no
> http://lists.copyleft.no/mailman/listinfo/pyrex




More information about the Pyrex mailing list