Serhiy Storchaka added the comment:
It looks to me that the type of the self parameter can be changed from
PyObject* to PyStructObject*. This will make the patch larger but the final
code simpler.
class Struct "PyStructObject *" "&PyStructType"
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29300>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com