CrouZ added the comment:
The problem exists in Python 3.9 as well, and it behaves the same as Python 3.8.
Tested with Python 3.9.1.
--
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue38
CrouZ added the comment:
The problem exists in Python 3.8 as well, with the difference that
``os.path.isdir("D:\\System Volume Information\\")`` also returns False.
Tested with Python 3.8.2 and 3.8.7.
--
versions: +Python 3.8
___
Pyth
New submission from CrouZ :
After upgrading some scripts from Python 2.7 to 3.7 in Windows 10, I got
different behavior that seems to be caused by inconsistent behavior for os.stat
in Python 3.7.
Python 2.7:
>>> os.stat("D:\\System Volume Information")
nt.stat_result
Changes by CrouZ :
--
type: crash -> behavior
___
Python tracker
<http://bugs.python.org/issue12362>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from CrouZ :
Steps to repeat:
* Create the script foo.py consisting of the line: print("foo")
* Run: foo.py > bar
Behavior:
2.7.2: The file bar is created but empty. Prints the following message on exit:
close failed in file object destructor:
sys.excepthook is