Eryk Sun added the comment:

I'm closing this as a duplicate of issue 25717. Martin's patch fixes this 
problem since it's just another case of _Py_fstat failing for a valid file. In 
this case the problem is volume and disk files (e.g. r"\\.\C:" and 
r"\\.\PhysicalDrive1") that don't support querying file information.

----------
resolution:  -> duplicate
stage: test needed -> resolved
status: open -> closed
superseder:  -> tempfile.TemporaryFile fails when dir option set to directory 
residing on host OS mount

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25639>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to