[issue38030] os.stat fails for block devices such as //./PhysicalDrive0

2019-09-04 Thread miss-islington
miss-islington added the comment: New changeset cad7abf8abe657b696b9c8deb4b727e0cefaf36d by Miss Islington (bot) in branch '3.8': bpo-38030: Fix os.stat failures on block devices on Windows (GH-15681) https://github.com/python/cpython/commit/cad7abf8abe657b696b9c8deb4b727e0cefaf36d

[issue38030] os.stat fails for block devices such as //./PhysicalDrive0

2019-09-04 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue38030] os.stat fails for block devices such as //./PhysicalDrive0

2019-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +15342 pull_request: https://github.com/python/cpython/pull/15682 ___ Python tracker ___ __

[issue38030] os.stat fails for block devices such as //./PhysicalDrive0

2019-09-04 Thread Steve Dower
Steve Dower added the comment: New changeset 772ec0fad57412daa53d16d7019b6b2fe6e94942 by Steve Dower in branch 'master': bpo-38030: Fix os.stat failures on block devices on Windows (GH-15681) https://github.com/python/cpython/commit/772ec0fad57412daa53d16d7019b6b2fe6e94942 -- _

[issue38030] os.stat fails for block devices such as //./PhysicalDrive0

2019-09-04 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +15341 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15681 ___ Python tracker _

[issue38030] os.stat fails for block devices such as //./PhysicalDrive0

2019-09-04 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue38030] os.stat fails for block devices such as //./PhysicalDrive0

2019-09-04 Thread Eryk Sun
New submission from Eryk Sun : In issue 37834, I posted a suggest implementation of win32_xstat_impl that included the following snippet of code: if (!GetFileInformationByHandle(hFile, &fileInfo)) { error = GetLastError(); if (error != ERROR_INVALID_PARAMETER &&