[Pyrex] bug in __Pyx_GetStarArgs()

Stefan Behnel stefan_ml at behnel.de
Mon Sep 3 20:11:49 CEST 2007


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)



More information about the Pyrex mailing list