Should posix functions that accept fd also accept objects with .fileno()?

Offen
#64,630 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

The issue names no files, tests, or entry points. Start by locating CPython's POSIX functions that accept file descriptors and reviewing how descriptor arguments are handled. Done means the intended functions consistently accept objects exposing .fileno(), with tests covering that behavior; confirm the scope with maintainers before coding.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

extension-modules type-feature
BPO 20431
Nosy @vstinner, @larryhastings

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 2014-01-29.03:48:20.821>
labels = ['type-feature']
title = 'Should posix functions that accept fd also accept objects with .fileno()?'
updated_at = <Date 2019-06-20.16:41:32.260>
user = 'https://github.com/larryhastings'

bugs.python.org fields:

activity = <Date 2019-06-20.16:41:32.260>
actor = 'nanjekyejoannah'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2014-01-29.03:48:20.821>
creator = 'larry'
dependencies = []
files = []
hgrepos = []
issue_num = 20431
keywords = []
message_count = 2.0
messages = ['209613', '209614']
nosy_count = 3.0
nosy_names = ['vstinner', 'larry', 'Arfrever']
pr_nums = []
priority = 'low'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue20431'
versions = ['Python 3.5']

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python/cpython

Alle Issues in python/cpython

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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