python / python/cpython

Accept file mode "rw" to open-or-create a file and seek to the start

Đang mở
#87,299 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

interpreter-core type-feature
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 43133
Nosy @ncoghlan, @serhiy-storchaka

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-02-05.04:36:25.742>
labels = ['type-feature']
title = 'Accept file mode "rw" to open-or-create a file and seek to the start'
updated_at = <Date 2021-02-05.17:49:28.700>
user = 'https://github.com/ncoghlan'

bugs.python.org fields:

activity = <Date 2021-02-05.17:49:28.700>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2021-02-05.04:36:25.742>
creator = 'ncoghlan'
dependencies = []
files = []
hgrepos = []
issue_num = 43133
keywords = []
message_count = 2.0
messages = ['386510', '386533']
nosy_count = 2.0
nosy_names = ['ncoghlan', 'serhiy.storchaka']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue43133'
versions = []

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.

Hướng nghiên cứu

Issue không cung cấp tệp, test hoặc entry point nào. Hãy bắt đầu bằng cách xác định phần xử lý các mode mở tệp của Python và các test liên quan; công việc được coi là hoàn tất khi chấp nhận "rw" để mở hoặc tạo một tệp và đặt vị trí ở đầu tệp.

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
operating-systems
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 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

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.