Torsten Becker <torsten.bec...@gmail.com> added the comment: Hi, I read through unicodeobject.c and added the (IMO) proper reference counts to the missing functions. I attached a first patch which adds this to Doc/data/refcounts.dat.
The patch also fixes 2 minor glitches in Doc/c-api/unicode.rst, PyUnicode_DecodeMBCSStateful stated int instead of Py_ssize_t for it's arguments and PyUnicode_FromString had it's return value wrongly formated. ---------- keywords: +patch nosy: +torsten.becker Added file: http://bugs.python.org/file21514/issue-8269-v1.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8269> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com