python / python/cpython

shutil.copyfile does not raise SpecialFileError for socket files

Offen
#81,881 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

BPO 37700
Nosy @cjerdonek, @chrahunt, @potomak
PRs
  • python/cpython#16575
  • 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 2019-07-29.04:22:16.840>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'shutil.copyfile does not raise SpecialFileError for socket files'
    updated_at = <Date 2021-12-11.18:41:20.112>
    user = 'https://github.com/chrahunt'
    

    bugs.python.org fields:

    activity = <Date 2021-12-11.18:41:20.112>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-07-29.04:22:16.840>
    creator = 'chrahunt'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37700
    keywords = ['patch']
    message_count = 3.0
    messages = ['348595', '348596', '348602']
    nosy_count = 3.0
    nosy_names = ['chris.jerdonek', 'chrahunt', 'potomak']
    pr_nums = ['16575']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue37700'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    Linked PRs
    • gh-142693

    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 shutil.copyfile und prüfe die verknüpften PRs zur bestehenden Behandlung von Socket-Dateien. Stelle sicher, dass das Kopieren eines Sockets SpecialFileError auslöst, wobei das im Issue angegebene Verhalten als Abschlusskriterium dient.

    Vom Indexierungsmodell aus dem Issue-Text verfasst.

    Bewertung

    Tech-Stack
    python
    Bereich
    operating-systems
    Issue-Typ
    Bug
    Schwierigkeit
    3/5
    Geschätzter Aufwand
    1-2 Tage
    Aktivitätsstatus
    Veraltet
    Klarheit
    Größtenteils klar
    Anfängerfreundlichkeit
    25/100

    Neue Issues direkt in Ihr Postfach

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