os.stat fails for file pending delete on Windows

Offen
#59,761 6 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
28/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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']
    

    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.