python / python/cpython

mimetypes.guess_type returns deprecated mimetype application/x-javascript

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

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

stdlib 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 46035
Nosy @iritkatriel, @milahu
Superseder
  • bpo-32462: validate mime types loaded from system files. Document that system files take precedence.
  • 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-12-10.12:10:59.454>
    labels = ['type-feature', 'library', '3.11']
    title = 'mimetypes.guess_type returns deprecated mimetype application/x-javascript'
    updated_at = <Date 2022-01-18.16:31:32.102>
    user = 'https://github.com/milahu'
    

    bugs.python.org fields:

    activity = <Date 2022-01-18.16:31:32.102>
    actor = 'milahu'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-12-10.12:10:59.454>
    creator = 'milahu'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46035
    keywords = []
    message_count = 7.0
    messages = ['408197', '408198', '410863', '410868', '410869', '410871', '410877']
    nosy_count = 2.0
    nosy_names = ['iritkatriel', 'milahu']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = '32462'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue46035'
    versions = ['Python 3.11']
    

    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 với entry point mimetypes.guess_type và xem xét issue thay thế BPO-32462 trước khi thực hiện bất kỳ thay đổi nào. Xác nhận xem issue đó có bao quát kết quả đã lỗi thời application/x-javascript hay không và dùng cách giải quyết của issue đó làm định nghĩa hoàn thà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
    backend
    Loại issue
    Tính năng
    Độ khó
    3/5
    Thời gian dự kiến
    1-2 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
    15/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.