File truncate() not defaulting to current position as documented

Aperta
#70,346 15 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

Start by reviewing the documentation and I/O behavior for file truncate(), focusing on the documented default position and the reported mismatch. The issue provides no file or test names; done means resolving whether the implementation or documentation is incorrect and making the behavior and documentation agree.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.10 3.8 (EOL) 3.9 (EOL) docs topic-IO type-bug
BPO 26158
Nosy @pitrou, @benjaminp, @socketpair, @vadmium, @serhiy-storchaka, @eryksun, @zooba

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 2016-01-19.15:19:44.966>
labels = ['type-bug', '3.8', '3.9', 'expert-IO', '3.10', 'docs']
title = 'File truncate() not defaulting to current position as documented'
updated_at = <Date 2021-02-26.17:25:06.794>
user = 'https://bugs.python.org/fornax'

bugs.python.org fields:

activity = <Date 2021-02-26.17:25:06.794>
actor = 'eryksun'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation', 'IO']
creation = <Date 2016-01-19.15:19:44.966>
creator = 'fornax'
dependencies = []
files = []
hgrepos = []
issue_num = 26158
keywords = []
message_count = 15.0
messages = ['258600', '258611', '258612', '258613', '258614', '258615', '258617', '258618', '258619', '258622', '258624', '258626', '258634', '258637', '258639']
nosy_count = 12.0
nosy_names = ['pitrou', 'benjamin.peterson', 'stutzbach', 'Zero', 'docs@python', 'socketpair', 'martin.panter', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'random832', 'fornax']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue26158'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

Lingua principale
Python
Stelle
77.2k
Fork
36k
Merge medio
1g 9h
PR unite (30g)
558

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/cpython

Tutte le issue di python/cpython

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.