[capi-sig] Creating type object dynamically in run-time

Stefan Behnel python_capi at behnel.de
Thu May 10 13:28:09 CEST 2012

Mateusz Loskot, 10.05.2012 13:24:
> This is my first post to this list, hello everyone!
> I hope this post is not off-topic here.
> I'm writing fairly complex structure of Python extensions directly using
> Python C API (version 3+ only). I define some type objects with statically,
> according to the canonical Noddy example presented in the docs.
> Some type objects have to be defined/composed dynamically in run-time.

Do you really need a type or is a Python class enough? The letter would be
much easier to create.


More information about the capi-sig mailing list