[issue41790] C-API documentation ignores heap types and says type objects must never be deallocated

2020-09-15 Thread Ammar Askar
Change by Ammar Askar : -- title: C-API documentation -> C-API documentation ignores heap types and says type objects must never be deallocated ___ Python tracker ___

[issue41790] C-API documentation

2020-09-14 Thread mohamed koubaa
New submission from mohamed koubaa : The C-API documentation introduction contains an error: "Almost all Python objects live on the heap: you never declare an automatic or static variable of type :c:type:`PyObject`, only pointer variables of type :c:type:`PyObject*` can be declared. The sole