Torsten Becker <torsten.bec...@gmail.com> added the comment: Hi, since nobody stopped me by complaining about the approach or the first patch, I now fixed this for bytes and bytearray as well. :)
I renamed the old _ParseTupleFinds function to stringlib_parse_tuple_finds, added a parameter for function name, and another if it shall do unicode conversion. I used this helper function throughout all 3 files now. I am new to writing C code for Python, so any comments on how to improve the patch are welcome. ---------- Added file: http://bugs.python.org/file21629/issue-11828-v3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11828> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com