Skip to content

index() and count() methods of bytes and bytearray should accept byte ints #56379

Closed
@max-alleged

Description

@max-alleged
BPO 12170
Nosy @rhettinger, @terryjreedy, @jcea, @pitrou, @vstinner, @ezio-melotti, @merwok, @florentx, @IIIIllllIIIIllllIIIIllllIIIIllllIIIIll, @akheron
Files
  • issue12170.patch
  • issue12170_v2.patch
  • 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-10-20.21:58:46.441>
    created_at = <Date 2011-05-24.19:49:09.812>
    labels = ['interpreter-core', 'type-bug']
    title = 'index() and count() methods of bytes and bytearray should accept byte ints'
    updated_at = <Date 2012-06-26.07:28:04.227>
    user = 'https://bugs.python.org/max-alleged'

    bugs.python.org fields:

    activity = <Date 2012-06-26.07:28:04.227>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-10-20.21:58:46.441>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2011-05-24.19:49:09.812>
    creator = 'max-alleged'
    dependencies = []
    files = ['22733', '23465']
    hgrepos = []
    issue_num = 12170
    keywords = ['patch', 'needs review']
    message_count = 22.0
    messages = ['136786', '136787', '136878', '136883', '140903', '141016', '141033', '141216', '141490', '141491', '145797', '145799', '145929', '145931', '146055', '146056', '148232', '148237', '148287', '149722', '149723', '164054']
    nosy_count = 12.0
    nosy_names = ['rhettinger', 'terry.reedy', 'jcea', 'pitrou', 'vstinner', 'ezio.melotti', 'eric.araujo', 'flox', 'xuanji', 'max-alleged', 'python-dev', 'petri.lehtinen']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12170'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-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