Signature for capsule destructor changed in py3k.