email.header.decode_header sometimes returns bytes, sometimes str

Đang mở
#65,691 5 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
28/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api, documentation

Hướng nghiên cứu

Start with email.header.decode_header and the dependent bpo-6302 proposal for email.utils.decode_header_as_string. Read the five-message issue thread to establish the intended return-type contract; done requires a decided behavior and corresponding documentation or implementation scope, but the payload names no files or tests.

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

Mô tả

3.7 (EOL) 3.8 (EOL) 3.9 (EOL) docs stdlib topic-email type-feature
BPO 21492
Nosy @warsaw, @ezio-melotti, @bitdancer, @berkerpeksag, @louisabraham
Dependencies
  • bpo-6302: Add decode_header_as_string method to email.utils
  • 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 2014-05-13.09:08:05.923>
    labels = ['3.7', '3.8', 'expert-email', '3.9', 'type-feature', 'library', 'docs']
    title = 'email.header.decode_header sometimes returns bytes, sometimes str'
    updated_at = <Date 2019-06-07.18:44:38.667>
    user = 'https://bugs.python.org/jimminter'
    

    bugs.python.org fields:

    activity = <Date 2019-06-07.18:44:38.667>
    actor = 'terry.reedy'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'Library (Lib)', 'email']
    creation = <Date 2014-05-13.09:08:05.923>
    creator = 'jim_minter'
    dependencies = ['6302']
    files = []
    hgrepos = []
    issue_num = 21492
    keywords = []
    message_count = 5.0
    messages = ['218419', '218442', '218450', '218451', '344522']
    nosy_count = 7.0
    nosy_names = ['barry', 'ezio.melotti', 'r.david.murray', 'docs@python', 'berker.peksag', 'jim_minter', 'louis.abraham@yahoo.fr']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue21492'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
    

    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.