socket.getservbyname(), socket.getservbyport(), socket.getprotobyname() are not threadsafe

Đang mở
#74,667 3 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
20/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
networking

Hướng nghiên cứu

Bắt đầu bằng cách đọc các phần triển khai của module socket cho getservbyname(), getservbyport() và getprotobyname(), sau đó kiểm tra PR được liên kết gh-151850 và các bài kiểm thử module mở rộng hiện có. Công việc được coi là hoàn tất khi ba API hoạt động an toàn khi được gọi đồng thời, với phạm vi kiểm thử hồi quy chứng minh hành vi đó.

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

Mô tả

3.7 (EOL) extension-modules topic-socket type-bug
BPO 30482
Nosy @pitrou, @vstinner, @njsmith, @dwfreed

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 2017-05-26.09:32:15.697>
labels = ['extension-modules', 'type-bug', '3.7']
title = 'socket.getservbyname(), socket.getservbyport(), socket.getprotobyname() are not threadsafe'
updated_at = <Date 2017-05-27.07:09:19.668>
user = 'https://github.com/dwfreed'

bugs.python.org fields:

activity = <Date 2017-05-27.07:09:19.668>
actor = 'njs'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules']
creation = <Date 2017-05-26.09:32:15.697>
creator = 'dwfreed'
dependencies = []
files = []
hgrepos = []
issue_num = 30482
keywords = []
message_count = 3.0
messages = ['294540', '294545', '294564']
nosy_count = 4.0
nosy_names = ['pitrou', 'vstinner', 'njs', 'dwfreed']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue30482'
versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

Linked PRs
  • gh-151850
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.