Petri Lehtinen <pe...@digip.org> added the comment:

This affects bytearray as well as bytes.

What comes to supporting integer argument to str methods, I'm -1 on that. str's 
"contained items" are strings of length 1.

----------
title: Bytes.index() and bytes.count() should accept byte ints -> index() and 
count() methods of bytes and bytearray should accept byte ints
versions:  -Python 3.2

_______________________________________
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

Reply via email to