os.stat fails for file pending delete on Windows

Aperta
#59,761 6 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
28/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start with the attached stat-bug.py test case and reproduce the failure on Windows for a file pending deletion. Then trace the os.stat implementation and its Windows-specific behavior. Done means the reported case succeeds and the test case is covered by a regression test.

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

Descrizione

OS-windows stdlib
BPO 15556
Nosy @loewis, @pitrou, @tjguk, @jkloth, @briancurtin, @cjerdonek
Files
  • stat-bug.py: test case
  • 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 2012-08-04.16:07:42.396>
    labels = ['library', 'OS-windows']
    title = 'os.stat fails for file pending delete on Windows'
    updated_at = <Date 2013-10-24.20:09:41.067>
    user = 'https://github.com/jkloth'
    

    bugs.python.org fields:

    activity = <Date 2013-10-24.20:09:41.067>
    actor = 'tim.golden'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2012-08-04.16:07:42.396>
    creator = 'jkloth'
    dependencies = []
    files = ['26687']
    hgrepos = []
    issue_num = 15556
    keywords = []
    message_count = 6.0
    messages = ['167414', '167415', '167416', '167417', '167418', '201175']
    nosy_count = 7.0
    nosy_names = ['loewis', 'pitrou', 'tim.golden', 'jkloth', 'brian.curtin', 'jeremy.kloth', 'chris.jerdonek']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue15556'
    versions = ['Python 3.3', 'Python 3.4']
    

    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.