pytoolz/cytoolz — pull request #30 by scoder (2014-05-05 19:58:29+00:00)
Title: remove more unnecessary C-API usages

- list comprehensions are actually faster than repeated calls to PyList_Append()
- Py_XDECREF() works nicely on PyObject* (and the C compiler will usually drop the NULL check)
- isinstance(x, builtin) translates directly to a PyBuiltin_Check() call