[issue38822] Inconsistent os.stat behavior for directory with Access Denied

2021-02-21 Thread CrouZ
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

[issue38822] Inconsistent os.stat behavior for directory with Access Denied

2021-01-09 Thread CrouZ
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

[issue38822] Inconsistent os.stat behavior for directory with Access Denied

2019-11-16 Thread CrouZ
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

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread CrouZ
Changes by CrouZ : -- type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue12362> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12362] General Windows stdout redirection not working

2011-06-19 Thread CrouZ
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