[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-06-06 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-06-01 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-05-31 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-05-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-05-25 Thread Max
Changes by Max : -- type: -> behavior versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-05-25 Thread Max
Max added the comment: Fair enough. I think it would make sense for the string methods to also accept single ints where possible as well: For haystack and needles both strings: [haystack.find(n) for n in needles] For both bytes, it's a bit contortionist: [haystack.find(needles[i:i+1]) for i

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-05-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12170] Bytes.index() and bytes.count() should accept byte ints

2011-05-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Bytes.index() and bytes.count() do not accept byte ints -> Bytes.index() and bytes.count() should accept byte ints ___ Python tracker ___ _