Erlend E. Aasland <erlend.aasl...@innova.no> added the comment:

You need to create your type objects dynamically when using the Limited API. 
See PEP 384 for how to do so:
https://www.python.org/dev/peps/pep-0384/#type-objects

Quoting from the PEP:
"The structure of type objects is not available to applications; declaration of 
"static" type objects is not possible anymore (for applications using this 
ABI). Instead, type objects get created dynamically."

----------
nosy: +erlendaasland
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44066>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to