Author koubaa
Recipients docs@python, koubaa
Date 2020-09-15.03:15:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600139713.54.0.954662294559.issue41790@roundup.psfhosted.org>
In-reply-to
Content
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 exception are the type objects; since these must never be
deallocated, they are typically static :c:type:`PyTypeObject` objects."

With heap types, PyTypeObject can be deallocated.
History
Date User Action Args
2020-09-15 03:15:13koubaasetrecipients: + koubaa, docs@python
2020-09-15 03:15:13koubaasetmessageid: <1600139713.54.0.954662294559.issue41790@roundup.psfhosted.org>
2020-09-15 03:15:13koubaalinkissue41790 messages
2020-09-15 03:15:13koubaacreate