On Wed, Apr 18, 2012 at 09:19:03PM +1000, Nick Coghlan <[email protected]> 
wrote:
> On Wed, Apr 18, 2012 at 7:57 AM, brian.curtin
> <[email protected]> wrote:
> > diff --git a/Python/errors.c b/Python/errors.c
> > --- a/Python/errors.c
> > +++ b/Python/errors.c
> > @@ -586,50 +586,43 @@
> > +  args = PyTuple_New(1);
> > +  if (args == NULL)
> > +    return NULL;
> > +
> > +  kwargs = PyDict_New();
> > +  if (args == NULL)
> > +    return NULL;

   Shouldn't the second test be
if (kwargs == NULL)
   ???

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            [email protected]
           Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to