python / python/cpython

smtplib send_message should gives more clear exception if the msg is None

Đang mở
#86,973 2 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 stdlib topic-email type-feature
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 42807
Nosy @warsaw, @terryjreedy, @bitdancer, @maxking, @oonid

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 2021-01-02.04:23:16.263>
labels = ['type-feature', 'library', '3.10']
title = 'smtplib send_message should gives more clear exception if the msg is None'
updated_at = <Date 2021-01-08.21:34:29.403>
user = 'https://github.com/oonid'

bugs.python.org fields:

activity = <Date 2021-01-08.21:34:29.403>
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-01-02.04:23:16.263>
creator = 'oon'
dependencies = []
files = []
hgrepos = []
issue_num = 42807
keywords = []
message_count = 2.0
messages = ['384216', '384692']
nosy_count = 5.0
nosy_names = ['barry', 'terry.reedy', 'r.david.murray', 'maxking', 'oon']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue42807'
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 xác định smtplib.send_message và kiểm tra cách nó xử lý một message None. Kiểm tra các bài kiểm thử smtplib hiện có, bổ sung coverage cho input này và xác nhận rằng exception phát sinh rõ ràng hơn mà không thay đổi các hành vi khác của send_message.

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
networking
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
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
45/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.