Pearu Peterson pe...@users.sourceforge.net added the comment:
I wonder why this issue is not fixed already.
The fix would be trivial (add two `=`)
and the bug is due to a simple typo (the current
behavior is conflicting with the documentation
and options intentions, see `setup.py build_clib
Pearu Peterson pe...@users.sourceforge.net added the comment:
Consider a trivial setup file:
from distutils.core import setup
setup()
Here is an example traceback (the second command
illustrates the bug):
$ python setup.py build --build-temp=/tmp
running build
$ python setup.py build_clib
New submission from Pearu Peterson pe...@users.sourceforge.net:
Calling the following extension function
static PyObject *
baz(PyObject *self, PyObject *args, PyObject *keywds)
{
static char *kwlist[] = {NULL};
if (!PyArg_ParseTupleAndKeywords(args,keywds,|:bar.baz, kwlist))
return