Martin v. Löwis <mar...@v.loewis.de> added the comment: Modifying convert_to_unicode is incorrect; this function is not an O& converter. Instead, PyUnicode_FSConverter needs to change.
Attached is a patch that does that, and also uses the O& approach. It also adjusts the patch to use capsules. ---------- Added file: http://bugs.python.org/file13997/conv.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6012> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com