[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The title of this issue is "Document how to make classes in the C API." This already is documented. For documenting the PyClassMethod* names open a new issue. -- status: open -> closed ___ Python tracker

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Decorater
Changes by Decorater : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Decorater
Decorater added the comment: Still it does look the functions lited in the second comment are undocumented. https://docs.python.org/3/search.html?q=PyClassMethodDescr_Type https://docs.python.org/3/search.html?q=PyClassMethod_New&check_keywords=yes&area=default However on the last function I di

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is documented. See https://docs.python.org/3/extending/newtypes.html. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Decorater
Decorater added the comment: Hmm seems that when looking at the exports in python36.dll that the following functions seem to not be documented as far as I seen: PyClassMethodDescr_Type PyClassMethod_New PyClassMethod_Type There might be more functions dealing with classes that are not document

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Decorater
New submission from Decorater: On the C API, it tells how to make modules, functions, variables, and other things, but what about classes? Like for example if you wanted to make a class with all of the methods having to use direct C Code which would then be converted to PyObject *'s for retur