Pearu Peterson 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 --help
Pearu Peterson 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 --build-temp=/tmp
usage
New submission from Pearu Peterson :
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 NULL;
return Py_