Skip to content

Extended slicing with classic class behaves strangely #51781

@florentx

Description

@florentx
mannequin
BPO 7532
Nosy @rhettinger, @mdickinson, @florentx
Files
  • case_slice.py: Buggy behaviour of classic classes
  • issue7532_classic_getitem_v2.diff: Patch, apply to trunk
  • issue7532_wontfix_tests.diff: Patch, apply to trunk
  • issue7532_bytearray.diff: Patch, apply to trunk
  • issue7532_wontfix_tests_py3k.diff: Patch, apply to py3k
  • 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 = 'https://github.com/mdickinson'
    closed_at = <Date 2010-01-10.12:01:12.470>
    created_at = <Date 2009-12-17.16:54:08.449>
    labels = ['interpreter-core', 'type-bug']
    title = 'Extended slicing with classic class behaves strangely'
    updated_at = <Date 2010-01-10.12:01:12.469>
    user = 'https://github.com/florentx'

    bugs.python.org fields:

    activity = <Date 2010-01-10.12:01:12.469>
    actor = 'mark.dickinson'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2010-01-10.12:01:12.470>
    closer = 'mark.dickinson'
    components = ['Interpreter Core']
    creation = <Date 2009-12-17.16:54:08.449>
    creator = 'flox'
    dependencies = []
    files = ['15582', '15586', '15779', '15802', '15804']
    hgrepos = []
    issue_num = 7532
    keywords = ['patch']
    message_count = 12.0
    messages = ['96520', '96532', '96533', '96536', '96542', '96601', '97157', '97376', '97379', '97467', '97475', '97511']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'mark.dickinson', 'flox']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7532'
    versions = ['Python 2.6', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions