Only one minor change I would make. Otherwise it looks ready to be committed. http://codereview.appspot.com/2968/diff/1/2 File Python/bltinmodule.c (right): http://codereview.appspot.com/2968/diff/1/2#newcode2011 Line 2011: PyObject *functools = PyImport_ImportModule("_functools"); Probably best to just import functools directly then mess around with implementation details.