[issue5373] TypeError when '\x00' in docstring
Alexandre Vassalotti
report at bugs.python.org
Sat Feb 28 20:08:45 CET 2009
Alexandre Vassalotti <alexandre at peadrop.com> added the comment:
The motivation behind the restriction was to prevent the tp_doc member
to get truncated. Since tp_doc is a C string, it cannot contains embeded
null bytes.
However, it seems tp_doc is not used at all for heap types. So, I don't
mind lifting the restriction.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5373>
_______________________________________
More information about the Python-bugs-list
mailing list