implementations of the deprecated load_module import loader API, as prescribed by the documentation, are not thread safe
Đang mở
Chưa có ai nhận issue này.
3.10
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
docs
topic-importlib
type-bug
- 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
Mô tả
| BPO | 43658 |
|---|---|
| Nosy | @kale-smoothie |
| Files |
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-03-29.16:53:01.049>
labels = ['type-bug', '3.8', '3.9', '3.10', '3.7', 'docs']
title = 'implementations of the deprecated load_module import loader API, as prescribed by the documentation, are not thread safe'
updated_at = <Date 2021-03-29.16:53:01.049>
user = 'https://github.com/kale-smoothie'
bugs.python.org fields:
activity = <Date 2021-03-29.16:53:01.049>
actor = 'kale-smoothie'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2021-03-29.16:53:01.049>
creator = 'kale-smoothie'
dependencies = []
files = ['49916']
hgrepos = []
issue_num = 43658
keywords = []
message_count = 1.0
messages = ['389713']
nosy_count = 2.0
nosy_names = ['docs@python', 'kale-smoothie']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue43658'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với bản tái hiện thread_unsafe_import.py đã tải lên và chạy nó với PICK_API=0, 1 và 2 để quan sát hành vi load_module được ghi trong tài liệu. Sau đó, tìm tài liệu Python về API import loader đã lỗi thời và so sánh cách triển khai được quy định trong đó với bản tái hiện. Hoàn thành khi tài liệu không còn quy định một cách triển khai không an toàn với thread và mô tả chính xác hành vi mong đợi.
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
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100