[issue39920] os.stat() and os.lstat() fail with Windows device paths

2021-03-21 Thread Eryk Sun
Eryk Sun added the comment: 3.7.8, released on 2020-06-27, was the last bugfix release of Python 3.7, so I'm closing this issue as a duplicate of bpo-33898, which is about supporting device paths correctly in pathlib. -- resolution: -> duplicate stage: -> resolved status: open ->

[issue39920] os.stat() and os.lstat() fail with Windows device paths

2020-03-12 Thread Eryk Sun
Eryk Sun added the comment: The particular error reported here is due to pathlib, which is a duplicate of issue 33898. That said, since the OP is using 3.7, I've left this issue open in case someone wants to backport the win32_xstat_impl changes that enable stat() (and in particular setting