There seem to be an API changes between Python 2.2 and 2.2.1c1: PyCellObject begins with a PyObject_HEAD, not anymore with a PyObject_VAR_HEAD. While it is unlikely that anybody will notice, I'd prefer to leave the additional field in the structure. Regards, Martin