Skip to content

[Windows] Inconsistent os.stat behavior for directory with Access Denied #83003

@CrouZ

Description

@CrouZ
mannequin
BPO 38822
Nosy @pfmoore, @tjguk, @zware, @eryksun, @zooba, @miss-islington, @nw0
PRs
  • bpo-38822: Fixed os.stat failing on inaccessible directories with a trailing slash, rather than falling back to the parent directory's metadata #25527
  • [3.9] bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527) #25530
  • [3.8] bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527) #25531
  • bpo-38822: Check specifically for a drive, not just a colon #25540
  • [3.8] bpo-38822: Check specifically for a drive, not just a colon (GH-25540) #25543
  • [3.9] bpo-38822: Check specifically for a drive, not just a colon (GH-25540) #25542
  • 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 = <Date 2021-04-22.19:48:08.500>
    created_at = <Date 2019-11-16.18:14:54.808>
    labels = ['type-bug', '3.8', '3.9', '3.10', 'extension-modules', 'OS-windows']
    title = '[Windows] Inconsistent os.stat behavior for directory with Access Denied'
    updated_at = <Date 2021-04-22.23:56:52.499>
    user = 'https://bugs.python.org/CrouZ'

    bugs.python.org fields:

    activity = <Date 2021-04-22.23:56:52.499>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-22.19:48:08.500>
    closer = 'steve.dower'
    components = ['Extension Modules', 'Windows']
    creation = <Date 2019-11-16.18:14:54.808>
    creator = 'CrouZ'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38822
    keywords = ['patch']
    message_count = 12.0
    messages = ['356763', '356885', '356915', '384729', '387445', '387504', '391625', '391628', '391629', '391632', '391641', '391642']
    nosy_count = 8.0
    nosy_names = ['paul.moore', 'tim.golden', 'CrouZ', 'zach.ware', 'eryksun', 'steve.dower', 'miss-islington', 'nw0']
    pr_nums = ['25527', '25530', '25531', '25540', '25543', '25542']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38822'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions