[issue12631] Mutable Sequence Type in .remove() is consistent only with lists, but not with bytearrays

New submission from py.user <port139@yandex.ru>: 4.6.4 Mutable Sequence Types | s.remove(x) | same as del s[s.index(x)] |
---------- assignee: docs@python components: Documentation, Interpreter Core messages: 141066 nosy: docs@python, py.user priority: normal severity: normal status: open title: Mutable Sequence Type in .remove() is consistent only with lists, but not with bytearrays versions: Python 3.1 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12631> _______________________________________

Changes by py.user <port139@yandex.ru>: ---------- type: -> behavior _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12631> _______________________________________

Petri Lehtinen <petri@digip.org> added the comment: Duplicate of issue 12170. ---------- nosy: +petri.lehtinen superseder: -> index() and count() methods of bytes and bytearray should accept byte ints _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12631> _______________________________________

Changes by Petri Lehtinen <petri@digip.org>: ---------- status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12631> _______________________________________

Changes by py.user <port139@yandex.ru>: ---------- type: -> behavior _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12631> _______________________________________

Petri Lehtinen <petri@digip.org> added the comment: Duplicate of issue 12170. ---------- nosy: +petri.lehtinen superseder: -> index() and count() methods of bytes and bytearray should accept byte ints _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12631> _______________________________________

Changes by Petri Lehtinen <petri@digip.org>: ---------- status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue12631> _______________________________________
participants (2)
-
Petri Lehtinen
-
py.user