From: fdrake at cnri.reston.va.us (Fred L. Drake)
Date: Thu, 29 Apr 1999 21:21:19 GMT
Subject: Extension Doc bug
In-Reply-To: <WtnU2.298$7j4.117754@news.shore.net>
References: <WtnU2.298$7j4.117754@news.shore.net>
Message-ID: <14120.52559.376120.364972@weyr.cnri.reston.va.us>
X-UID: 1295                                                  

Michael P. Reilly writes:
 > I just spent the morning trying to find a very obscure bug related to
 > the passing keyword arguments to a builtin method/function.

Michael,
  You didn't post your original code that exhibited the bug, so I
can't be sure of my conclusions.  If you can send source for enough of 
your extension module that someone can compile it, that would be
helpful.
  My first inclination, however, is that you passed in illegal
arguments to PyArg_ParseTupleAndKeywords().  Passing NULL for the
keywords dictionary is allowed; I've been looking at the
implementation and don't see a way for that to be a problem (but I
might have missed something).


  -Fred

--
Fred L. Drake, Jr.	     <fdrake at acm.org>
Corporation for National Research Initiatives




