python / python/cpython

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

Open
#87,299 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

interpreter-core type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

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 = []

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides no files, tests, or entry points. Start by locating Python's file-opening mode handling and the related tests; done means accepting "rw" to open or create a file and position it at the start.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.