Invalid MIME encoding generated by email.mime (line too long)

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

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

Đánh giá

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

Hướng nghiên cứu

Start by reviewing PR 30980 and the linked test_mime_long_line.py and test_mime_long_line_workaround.py files, then inspect the Python email library code they exercise. Reproduce the invalid MIME output and determine whether the existing PR resolves the line-length issue; done means the generated encoding is valid without breaking the relevant email tests.

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

Mô tả

3.10 3.11 3.9 (EOL) stdlib topic-email type-bug
BPO 25948
Nosy @warsaw, @bitdancer, @180909
PRs
  • python/cpython#30980
  • Files
  • test_mime_long_line.py: Simple test case
  • test_mime_long_line_workaround.py: Demonstration of the described workaround
  • 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 2015-12-25.10:33:43.528>
    labels = ['type-bug', 'expert-email', '3.10', '3.11', 'library', '3.9']
    title = 'Invalid MIME encoding generated by email.mime (line too long)'
    updated_at = <Date 2022-01-28.07:16:40.176>
    user = 'https://bugs.python.org/vog'
    

    bugs.python.org fields:

    activity = <Date 2022-01-28.07:16:40.176>
    actor = 'wangjiahua'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'email']
    creation = <Date 2015-12-25.10:33:43.528>
    creator = 'vog'
    dependencies = []
    files = ['41415', '41416']
    hgrepos = []
    issue_num = 25948
    keywords = ['patch']
    message_count = 1.0
    messages = ['256982']
    nosy_count = 4.0
    nosy_names = ['barry', 'r.david.murray', 'vog', 'wangjiahua']
    pr_nums = ['30980']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25948'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    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

    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.

    Issue khác của python/cpython

    Tất cả issue của python/cpython

    Issue tương tự

    Thêm issue về Python

    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.