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 <rep...@bugs.python.org>
<http://bugs.python.org/issue23869>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to