Skip to content

Don't assume Py_TYPE being a macro

Tomáš Hrnčiar requested to merge hrnciar/pygobject:py_type-fix into master

Py_TYPE was changed to a function in Python 3.10. Suggested approach is to use Py_SET_TYPE macro instead, see: https://docs.python.org/3.10/whatsnew/3.10.html.

Merge request reports