Antoine Pitrou added the comment: PyType_FromSpec provides a rather neat way to initialize C extension types. However, there are a couple of pitfalls to look out for:
https://bugs.python.org/issue16690 https://bugs.python.org/issue26979 ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue15670> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com