You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2022-01-27.16:30:38.977>created_at=<Date2011-01-19.08:38:46.147>labels= ['extension-modules', 'type-feature']
title='abitype: Need better support to port C extension modules to the stable C API'updated_at=<Date2022-01-27.16:30:38.976>user='https://bugs.python.org/fhaxbox66googlemailcom'
execption raised for missing PyVarObject_HEAD: this could be rixed by deleting a /* */ comment before. I think abitype.py should properly skip comments rather than forcing the user to delete them.
the xxxmodule.c on which hnjmodule.c is based, defines a PyObject Str_type wherr tp_basicsize is 0 rather than sizeof(XXX). This causes abitype.py to raise a key error as '0' seems to be ignored by abitype.py.
Finally, I suggest to add to the source tree a boiler plate C module conforming to the stable API such as xxxmodule-stable-api.c. This would help creating extensions from scratch.
Tools/scripts/abitype.py hasn't seen much maintenance in 11 years, but it also seems not to have seen much use. Patches would be accepted, but priority is low enough that I'm going to go ahead and close the issue.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: