python / python/cpython

Space in re's {min,max} should raise an error, rather than fail silently

Đang mở
#86,635 9 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.10 topic-regex type-bug
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 42469
Nosy @rhettinger, @terryjreedy, @ezio-melotti, @serhiy-storchaka, @reuven, @akulakov

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 2020-11-26.07:09:54.395>
labels = ['expert-regex', 'type-bug', '3.10']
title = "Space in re's {min,max} should raise an error, rather than fail silently"
updated_at = <Date 2021-07-17.14:52:02.804>
user = 'https://github.com/reuven'

bugs.python.org fields:

activity = <Date 2021-07-17.14:52:02.804>
actor = 'andrei.avk'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Regular Expressions']
creation = <Date 2020-11-26.07:09:54.395>
creator = 'reuven'
dependencies = []
files = []
hgrepos = []
issue_num = 42469
keywords = []
message_count = 5.0
messages = ['381879', '381919', '381994', '382045', '397725']
nosy_count = 7.0
nosy_names = ['rhettinger', 'terry.reedy', 'ezio.melotti', 'mrabarnett', 'serhiy.storchaka', 'reuven', 'andrei.avk']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42469'
versions = ['Python 3.10']

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 tái hiện hành vi thông qua entry point re của Python, so sánh các pattern có và không có khoảng trắng trong {min,max}. Theo dõi component Regular Expressions để xác định nơi pattern được chấp nhận một cách im lặng, sau đó bổ sung coverage cho thấy dạng không hợp lệ gây ra lỗi; issue không nêu tên tệp nguồn hay đường dẫn kiểm thử.

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
backend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
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.