smtplib: allow custom policy or use msg.policy in send_message
Đang mở
Chưa có ai nhận issue này.
3.10
3.11
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
stdlib
topic-email
- 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 | 47047 |
|---|---|
| Nosy | @warsaw, @bitdancer, @Miksus |
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 2022-03-17.16:48:39.898>
labels = ['3.8', 'expert-email', '3.10', '3.11', '3.7', 'library', '3.9']
title = 'smtplib: allow custom policy or use msg.policy in send_message'
updated_at = <Date 2022-03-17.18:34:59.131>
user = 'https://github.com/Miksus'
bugs.python.org fields:
activity = <Date 2022-03-17.18:34:59.131>
actor = 'Miksus'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'email']
creation = <Date 2022-03-17.16:48:39.898>
creator = 'Miksus'
dependencies = []
files = []
hgrepos = []
issue_num = 47047
keywords = []
message_count = 2.0
messages = ['415428', '415436']
nosy_count = 3.0
nosy_names = ['barry', 'r.david.murray', 'Miksus']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue47047'
versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']
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 từ smtplib.send_message, entry point được issue nêu ra, và lần theo cách policy của message được chọn. Làm rõ hành vi dự kiến của custom-policy và msg.policy, sau đó bổ sung coverage tập trung cho hành vi đã thống nhất; công việc được xem là hoàn tất khi send_message tôn trọng policy đã chọn.
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
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 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