Torsten Becker <torsten.bec...@gmail.com> added the comment:

Hi, I started working on a first patch for this.  A function _ParseTupleFinds() 
exists which does the proper parsing for this kind of arguments in 
unicodeobject.c, I adapted it to be usable for startswith() and endswith() 
besides find() and friends.

In issue-8282-v1.patch I fixed this for startswith() and endswith().  count() 
suffered from the same behavior and I updated it there as well.

----------
keywords: +patch
nosy: +torsten.becker
Added file: http://bugs.python.org/file21620/issue-11828-v1.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

Reply via email to