[issue23869] Initialization is being done in PyType_GenericAlloc

Hristo Venev report at bugs.python.org
Sat Apr 4 17:03:22 CEST 2015


New submission from Hristo Venev:

In PyType_GenericAlloc, the initialization is being done. Namely, the PyObject part of the object is initialized and it is tracked by the garbage collector.

In the documentation it is stated that tp_alloc should do no initialization.

----------
messages: 240080
nosy: h.venev
priority: normal
severity: normal
status: open
title: Initialization is being done in PyType_GenericAlloc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23869>
_______________________________________


More information about the Python-bugs-list mailing list