Petri Lehtinen <pe...@digip.org> added the comment: Thanks for the review, Antoine. Attached an updated the patch:
- The function definition now uses STRINGLIB(...) and the function is only defined when !STRINGLIB_IS_UNICODE (so I took both approaches) - Added a "versionadded:: 3.3" to the documentation. ---------- Added file: http://bugs.python.org/file23464/issue12170_v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12170> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com