[issue11135] Redundant doc field in TypeSpec
Egon Smiwa
report at bugs.python.org
Wed Feb 16 13:12:15 CET 2011
Egon Smiwa <smiwa.egon at googlemail.com> added the comment:
You bring the tp_doc parameter pointer
into the ownership of the new typeobject?
and tp_doc is assumed to be created by pyObject_malloc?
IMO, if CPython wants to be the owner of the string parameter,
then it should make a copy of that parameter (tp_doc)
and become owner of that copy.
----------
nosy: +Egon.Smiwa
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11135>
_______________________________________
More information about the Python-bugs-list
mailing list