urllib.parse.urlparse accepts any falsy value as an url

Đang mở
#66,430 19 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
18/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
backend

Hướng nghiên cứu

Start with urllib.parse.urlparse and the historical issue22234 patches listed in the report, especially the deprecation and disallow patches. Review the existing behavior and related tests, then confirm the accepted handling of falsy, non-string, and non-byte arguments; the issue is done when that behavior is tested and matches the agreed compatibility path.

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

Mô tả

stdlib type-bug
BPO 22234
Nosy @orsenthil, @bitdancer, @vadmium, @serhiy-storchaka, @ztane, @demianbrecht, @poleto, @jacobtylerwalls
PRs
  • python/cpython#26687
  • Files
  • issue22234_36.patch: Patch with the deprecation warning to be applied on Python 3.6.
  • issue22234_37.patch: Changes to urlparse to handle non-str and non-byte arguments
  • urlparse_empty_bad_arg_deprecation.patch
  • urlparse_empty_bad_arg_disallow.patch
  • urlparse_empty_bad_arg_deprecation2.patch
  • 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-08-20.12:39:51.904>
    labels = ['type-bug', 'library']
    title = 'urllib.parse.urlparse accepts any falsy value as an url'
    updated_at = <Date 2021-06-13.22:43:49.238>
    user = 'https://github.com/ztane'
    

    bugs.python.org fields:

    activity = <Date 2021-06-13.22:43:49.238>
    actor = 'jacobtylerwalls'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2014-08-20.12:39:51.904>
    creator = 'ztane'
    dependencies = []
    files = ['42591', '42592', '42600', '42602', '42607']
    hgrepos = []
    issue_num = 22234
    keywords = ['patch']
    message_count = 19.0
    messages = ['225566', '225832', '260671', '264023', '264210', '264211', '264217', '264219', '264261', '264269', '264278', '264344', '264346', '264347', '264357', '264427', '265030', '395765', '395766']
    nosy_count = 8.0
    nosy_names = ['orsenthil', 'r.david.murray', 'martin.panter', 'serhiy.storchaka', 'ztane', 'demian.brecht', 'luiz.poleto', 'jacobtylerwalls']
    pr_nums = ['26687']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22234'
    versions = ['Python 3.6']
    

    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.