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