How should contextmanager/ContextDecorator work with generators?
Đang mở
Chưa có ai nhận issue này.
3.8 (EOL)
docs
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 558
Mô tả
| BPO | 37743 |
|---|---|
| Nosy | @ncoghlan |
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 2019-08-01.23:33:04.730>
labels = ['3.8', 'docs']
title = 'How should contextmanager/ContextDecorator work with generators?'
updated_at = <Date 2019-09-03.10:21:10.928>
user = 'https://github.com/anntzer'
bugs.python.org fields:
activity = <Date 2019-09-03.10:21:10.928>
actor = 'Antony.Lee'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2019-08-01.23:33:04.730>
creator = 'Antony.Lee'
dependencies = []
files = []
hgrepos = []
issue_num = 37743
keywords = []
message_count = 2.0
messages = ['348878', '351074']
nosy_count = 1.0
nosy_names = ['ncoghlan']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue37743'
versions = ['Python 3.8']
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với cuộc thảo luận BPO 37743 được liên kết và tài liệu hiện có về contextmanager và ContextDecorator. Làm rõ hành vi dự kiến khi các tiện ích này được sử dụng với generator, sau đó cập nhật tài liệu liên quan khi hành vi đã được quyết định.
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- 30/100