Skip to content

__getitem__ and __setitem__ try to be smart when invoked with negative slice indices #65984

@kt

Description

@kt
mannequin
BPO 21785
Nosy @rhettinger, @serhiy-storchaka, @eryksun

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 2020-05-31.14:43:04.028>
created_at = <Date 2014-06-17.05:16:03.404>
labels = ['interpreter-core', 'type-bug']
title = '__getitem__ and __setitem__ try to be smart when invoked with negative slice indices'
updated_at = <Date 2020-05-31.14:43:04.027>
user = 'https://bugs.python.org/kt'

bugs.python.org fields:

activity = <Date 2020-05-31.14:43:04.027>
actor = 'serhiy.storchaka'
assignee = 'docs@python'
closed = True
closed_date = <Date 2020-05-31.14:43:04.028>
closer = 'serhiy.storchaka'
components = ['Interpreter Core']
creation = <Date 2014-06-17.05:16:03.404>
creator = 'kt'
dependencies = []
files = []
hgrepos = []
issue_num = 21785
keywords = []
message_count = 6.0
messages = ['220792', '220795', '220806', '220808', '220809', '370468']
nosy_count = 5.0
nosy_names = ['rhettinger', 'docs@python', 'serhiy.storchaka', 'eryksun', 'kt']
pr_nums = []
priority = 'low'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue21785'
versions = ['Python 2.7']

Metadata

Metadata

Assignees

No one assigned

    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