python / python/cpython

misleading error about fd / follow_symlinks from os.stat()

Offen
#89,031 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

3.11 stdlib type-bug
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
558

Beschreibung

BPO 44868
Nosy @akulakov

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-08-08.20:18:13.105>
labels = ['expert-C-API', 'type-bug', 'library', '3.11']
title = 'misleading error about fd / follow_symlinks from os.stat()'
updated_at = <Date 2021-08-08.20:20:23.676>
user = 'https://github.com/akulakov'

bugs.python.org fields:

activity = <Date 2021-08-08.20:20:23.676>
actor = 'andrei.avk'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'C API']
creation = <Date 2021-08-08.20:18:13.105>
creator = 'andrei.avk'
dependencies = []
files = []
hgrepos = []
issue_num = 44868
keywords = []
message_count = 2.0
messages = ['399237', '399239']
nosy_count = 1.0
nosy_names = ['andrei.avk']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue44868'
versions = ['Python 3.11']

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem BPO-Issue 44868 und dem Einstiegspunkt os.stat(), untersuche dann die C-API-Behandlung, auf die das Label expert-C-API verweist. Fertig ist es, wenn der Fehler zu fd und follow_symlinks die ungültige Verwendung korrekt beschreibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
c, python
Bereich
operating-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.