The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.
Đang mở
Chưa có ai nhận issue này.
3.10
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
stdlib
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
| BPO | 45192 |
|---|---|
| Nosy | @ambv, @miss-islington, @akulakov, @rekyungmin |
| PRs |
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-09-14.05:44:04.045>
labels = ['type-bug', '3.8', '3.9', '3.10', '3.7', 'library']
title = 'The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.'
updated_at = <Date 2021-10-20.21:27:38.952>
user = 'https://github.com/rekyungmin'
bugs.python.org fields:
activity = <Date 2021-10-20.21:27:38.952>
actor = 'lukasz.langa'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-09-14.05:44:04.045>
creator = 'rekyungmin'
dependencies = []
files = []
hgrepos = []
issue_num = 45192
keywords = ['patch']
message_count = 6.0
messages = ['401754', '401755', '404139', '404523', '404528', '404529']
nosy_count = 4.0
nosy_names = ['lukasz.langa', 'miss-islington', 'andrei.avk', 'rekyungmin']
pr_nums = ['28323', '29111', '29112']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45192'
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 bằng cách tìm tempfile._infer_return_type và xem xét các pull request được liên kết về cách xử lý os.PathLike objects được đề xuất. Xác nhận kiểu được suy luận mong đợi và hành vi tương ứng trước khi thực hiện thay đổi; được xem là hoàn tất khi hàm suy luận chính xác các kiểu cho đầu vào os.PathLike và các bài kiểm thử liên quan đều đạt.
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
- backend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 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
- 20/100