python / python/cpython

Slice confusing with negative stop and strides and the 0th element.

Đang mở
#73,068 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

3.7 (EOL) docs
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

BPO 28882
Nosy @terryjreedy, @hardkrash, @vadmium, @MojoVampire

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 = None
created_at = <Date 2016-12-06.05:06:40.291>
labels = ['3.7', 'docs']
title = 'Slice confusing with negative stop and strides and the 0th element.'
updated_at = <Date 2016-12-10.00:28:35.180>
user = 'https://github.com/hardkrash'

bugs.python.org fields:

activity = <Date 2016-12-10.00:28:35.180>
actor = 'martin.panter'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2016-12-06.05:06:40.291>
creator = 'hardkrash'
dependencies = []
files = []
hgrepos = []
issue_num = 28882
keywords = []
message_count = 6.0
messages = ['282500', '282501', '282578', '282801', '282810', '282814']
nosy_count = 5.0
nosy_names = ['terry.reedy', 'hardkrash', 'docs@python', 'martin.panter', 'josh.r']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue28882'
versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách đọc cuộc thảo luận trong BPO issue 28882 và tài liệu về slicing của Python, tập trung vào các stop âm, stride và index 0. Công việc hoàn tất khi tài liệu giải thích rõ các trường hợp slicing được nêu và sự nhầm lẫn của issue được giải quyết mà không thay đổi hành vi của Python.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.