shutil.move raises OSError when copystat fails

Aperta
#42,948 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start with shutil.move and the historical shutil.py.diff mentioned in the issue, then review linked PRs gh-141697 and gh-142098 before making changes. The issue reports an OSError when copystat fails; use the existing discussion and PR state to determine the accepted behavior and how completion should be validated.

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

Descrizione

stdlib type-bug
BPO 1438480
Nosy @merwok, @websurfer5, @Eshan Singhal
Files
  • shutil.py.diff: Fix copy2/copy
  • 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 2006-02-25.05:26:29.000>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'shutil.move raises OSError when copystat fails'
    updated_at = <Date 2021-12-26.15:58:26.319>
    user = 'https://bugs.python.org/piman'
    

    bugs.python.org fields:

    activity = <Date 2021-12-26.15:58:26.319>
    actor = 'ajaksu2'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2006-02-25.05:26:29.000>
    creator = 'piman'
    dependencies = []
    files = ['1911']
    hgrepos = []
    issue_num = 1438480
    keywords = ['patch']
    message_count = 6.0
    messages = ['27612', '27613', '27614', '141827', '221789', '358270']
    nosy_count = 5.0
    nosy_names = ['thomaswaldmann', 'piman', 'eric.araujo', 'Jeffrey.Kintscher', 'eshan-singhal']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue1438480'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    Linked PRs
    • gh-141697
    • gh-142098
    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.