Skip to content

Mutable Sequence Type in .remove() is consistent only with lists, but not with bytearrays #56840

@py-user

Description

@py-user
mannequin
BPO 12631
Nosy @py-user, @akheron
Superseder
  • bpo-12170: index() and count() methods of bytes and bytearray should accept byte ints
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2011-08-01.06:46:31.475>
    created_at = <Date 2011-07-25.00:26:29.517>
    labels = ['interpreter-core', 'type-bug', 'docs']
    title = 'Mutable Sequence Type in .remove() is consistent only with lists, but not with bytearrays'
    updated_at = <Date 2011-08-01.06:46:31.474>
    user = 'https://github.com/py-user'

    bugs.python.org fields:

    activity = <Date 2011-08-01.06:46:31.474>
    actor = 'petri.lehtinen'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2011-08-01.06:46:31.475>
    closer = 'petri.lehtinen'
    components = ['Documentation', 'Interpreter Core']
    creation = <Date 2011-07-25.00:26:29.517>
    creator = 'py.user'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 12631
    keywords = []
    message_count = 2.0
    messages = ['141066', '141218']
    nosy_count = 3.0
    nosy_names = ['docs@python', 'py.user', 'petri.lehtinen']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'closed'
    superseder = '12170'
    type = 'behavior'
    url = 'https://bugs.python.org/issue12631'
    versions = ['Python 3.1']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      docsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions