open() of read-write non-seekable streams broken

Open
#64,273 20 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python
Domain
backend

Research direction

Start by reproducing the read-write non-seekable stream behavior described in the title and inspect the Python IO component. No source file or test is named, so locate the relevant open() implementation and existing IO tests first. Done means the broken behavior is corrected and covered by a regression test.

Written by the indexing model from the issue text.

Description

topic-IO type-bug
BPO 20074
Nosy @pitrou, @benjaminp, @bitdancer, @hynek, @vadmium, @serhiy-storchaka, @cagney

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 2013-12-26.20:01:49.042>
labels = ['type-bug', 'expert-IO']
title = 'open() of read-write non-seekable streams broken'
updated_at = <Date 2021-03-02.13:41:06.954>
user = 'https://bugs.python.org/Dolda2000'

bugs.python.org fields:

activity = <Date 2021-03-02.13:41:06.954>
actor = 'ken.teh'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['IO']
creation = <Date 2013-12-26.20:01:49.042>
creator = 'Dolda2000'
dependencies = []
files = []
hgrepos = []
issue_num = 20074
keywords = []
message_count = 19.0
messages = ['206957', '206960', '206961', '206980', '206981', '206982', '206983', '206991', '206998', '207001', '207002', '207003', '207010', '207012', '273258', '339809', '366115', '366117', '387929']
nosy_count = 12.0
nosy_names = ['pitrou', 'benjamin.peterson', 'stutzbach', 'r.david.murray', 'python-dev', 'hynek', 'martin.panter', 'pavlix', 'serhiy.storchaka', 'Dolda2000', 'cagney', 'ken.teh']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue20074'
versions = ['Python 3.3', 'Python 3.4']

Dominant language
Python
Stars
77.2k
Forks
36k
Avg merge
1d 9h
Merged PRs (30d)
558

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.

More from python/cpython

All issues in python/cpython

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.