This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author torsten.becker
Recipients hkBst, jcea, r.david.murray, rhettinger, santoso.wijaya, torsten.becker
Date 2011-04-11.22:39:34
SpamBayes Score 2.287502e-08
Marked as misclassified No
Message-id <1302561576.18.0.596230925842.issue11828@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-04-11 22:39:36torsten.beckersetrecipients: + torsten.becker, rhettinger, jcea, r.david.murray, santoso.wijaya, hkBst
2011-04-11 22:39:36torsten.beckersetmessageid: <1302561576.18.0.596230925842.issue11828@psf.upfronthosting.co.za>
2011-04-11 22:39:35torsten.beckerlinkissue11828 messages
2011-04-11 22:39:35torsten.beckercreate