TextIOWrapper usage of IncrementalEncoder doesn't match documentation around `final=`
Đang mở
Chưa có ai nhận issue này.
extension-modules
topic-IO
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 | 38485 |
|---|---|
| Nosy | @benjaminp, @jamercee |
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 2019-10-15.14:22:34.158>
labels = ['3.8', 'type-bug', '3.7', '3.9', 'expert-IO']
title = 'BUG Modules/_io/texio.c'
updated_at = <Date 2019-10-15.15:42:43.658>
user = 'https://github.com/jamercee'
bugs.python.org fields:
activity = <Date 2019-10-15.15:42:43.658>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['IO']
creation = <Date 2019-10-15.14:22:34.158>
creator = 'jamercee'
dependencies = []
files = []
hgrepos = []
issue_num = 38485
keywords = []
message_count = 1.0
messages = ['354733']
nosy_count = 3.0
nosy_names = ['benjamin.peterson', 'stutzbach', 'jamercee']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38485'
versions = ['Python 2.7', 'Python 3.7', 'Python 3.8', 'Python 3.9']
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 Modules/_io/texio.c và tài liệu về IncrementalEncoder/TextIOWrapper, sau đó xác định hành vi final= được tài liệu hóa nhưng không khớp. Xác nhận hành vi hiện tại và đưa phần triển khai cùng các bài kiểm thử liên quan khớp với tài liệu; issue không nêu tên tệp kiểm thử nào, vì vậy việc tìm các bài kiểm thử IO liên quan là một phần của quá trình điều tra.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- c, python
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100