Compatibility for Python 3.8

The PyTypeObject struct was modified in Python 3.8, this change is required to avoid compile errors.

Resolves #17670 (closed)

Backport: release

Merge request reports

Loading