urllib2 localnet Changed test to lookup IP-address of localhost

Đang mở
#66,942 6 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/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
networking, testing-qa

Hướng nghiên cứu

The issue names issue_22753.diff and an urllib2 localnet test; start by reviewing that diff and locating the corresponding test in CPython. Run the focused urllib2 test and confirm it passes without assuming a fixed localhost address.

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

Mô tả

tests type-bug
BPO 22753
Nosy @ezio-melotti, @bitdancer
Files
  • issue_22753.diff: A patch that does this: localhost_ip = socket.gethostbyname('localhost')
  • 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-10-28.14:47:08.763>
    labels = ['type-bug', 'tests']
    title = 'urllib2 localnet Changed test to lookup IP-address of localhost'
    updated_at = <Date 2014-11-03.11:58:35.980>
    user = 'https://bugs.python.org/hakan'
    

    bugs.python.org fields:

    activity = <Date 2014-11-03.11:58:35.980>
    actor = 'hakan'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2014-10-28.14:47:08.763>
    creator = 'hakan'
    dependencies = []
    files = ['37053']
    hgrepos = []
    issue_num = 22753
    keywords = ['patch']
    message_count = 6.0
    messages = ['230156', '230157', '230158', '230451', '230456', '230534']
    nosy_count = 5.0
    nosy_names = ['ezio.melotti', 'r.david.murray', 'puppet', 'larstiq', 'hakan']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22753'
    versions = ['Python 3.5']
    

    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.