C implementation of xml.etree.ElementTree does not make a copy of attrib argument when creating new Element

Đang mở
#80,866 4 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
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Trước tiên, hãy xem xét PR #12891 và phần triển khai C phía sau xml.etree.ElementTree. So sánh việc tạo Element với ngữ nghĩa sao chép được mong đợi cho đối số attrib, sau đó chạy các bài kiểm thử liên quan của thư viện XML; được xem là hoàn tất khi hành vi đã sửa được các bài kiểm thử bao phủ.

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

Mô tả

3.8 (EOL) 3.9 (EOL) stdlib topic-XML type-bug
BPO 36685
Nosy @scoder, @bitdancer, @asvetlov, @serhiy-storchaka, @srinivasreddy, @JulienPalard, @pganssle, @GPHemsley
PRs
  • python/cpython#12891
  • 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 2019-04-21.00:07:40.396>
    labels = ['expert-XML', '3.8', 'type-bug', 'library', '3.9']
    title = 'C implementation of xml.etree.ElementTree does not make a copy of attrib argument when creating new Element'
    updated_at = <Date 2019-04-21.21:41:30.102>
    user = 'https://github.com/GPHemsley'
    

    bugs.python.org fields:

    activity = <Date 2019-04-21.21:41:30.102>
    actor = 'gphemsley'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'XML']
    creation = <Date 2019-04-21.00:07:40.396>
    creator = 'gphemsley'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36685
    keywords = ['patch']
    message_count = 4.0
    messages = ['340590', '340591', '340598', '340599']
    nosy_count = 9.0
    nosy_names = ['scoder', 'r.david.murray', 'eli.bendersky', 'asvetlov', 'serhiy.storchaka', 'thatiparthy', 'mdk', 'p-ganssle', 'gphemsley']
    pr_nums = ['12891']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36685'
    versions = ['Python 2.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.