This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Ryan_D@163.com, eryksun, paul.moore, steve.dower, steven.daprano, tim.golden, zach.ware
Date 2019-04-17.10:51:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555498285.01.0.354154998641.issue36646@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-04-17 10:51:25eryksunsetrecipients: + eryksun, paul.moore, tim.golden, steven.daprano, zach.ware, steve.dower, Ryan_D@163.com
2019-04-17 10:51:25eryksunsetmessageid: <1555498285.01.0.354154998641.issue36646@roundup.psfhosted.org>
2019-04-17 10:51:24eryksunlinkissue36646 messages
2019-04-17 10:51:24eryksuncreate