Message376926
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. |
|
Date |
User |
Action |
Args |
2020-09-15 03:15:13 | koubaa | set | recipients:
+ koubaa, docs@python |
2020-09-15 03:15:13 | koubaa | set | messageid: <1600139713.54.0.954662294559.issue41790@roundup.psfhosted.org> |
2020-09-15 03:15:13 | koubaa | link | issue41790 messages |
2020-09-15 03:15:13 | koubaa | create | |
|