/nix/store/4jfqcb4mzh3vl08zgfh9ir46jii7rcb9-python-2.7.3/include/python2.7/modsupport.h:27:1: error: 'PyArg_ParseTuple' is an unrecognized format function type [-Werror=format=]
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
^
cc1: all warnings being treated as errors
why the git version? 0.24b (in nixpkgs) was broken.
using 0.25rc1 gave the same error (gcc 4.6 related)
Both these versions are over a year old and lots of
commits were made after that, including something
that fixed building on nix.