Eryk Sun <[email protected]> added the comment:
Try os.listdir(u'L:\\Temp') in Python 2. Using a unicode string should result
in the same WINAPI FindFirstFileW call as in Python 3.
You're running `python3`, but the standard installation doesn't include
"python3.exe". Please show the output of `(get-command python3).source` in
PowerShell.
Compare the security context (user, groups, privileges) by running
subprocess.call('whoami /all /fo list') from both Python 2 and 3.
----------
nosy: +eryksun
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36646>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com