Benjamin Peterson benja...@python.org added the comment:
Superseded by #5913.
--
resolution: - duplicate
status: open - closed
superseder: - On Windows os.listdir('') - cwd and os.listdir(u'') - C:\
___
Python tracker rep...@bugs.python.org
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +benjamin.peterson, pitrou
type: - behavior
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue818059
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
This may become important when switching to python 3.0...
When passed str(''), FindFirstFileA is called with *.*.
But when passed unicode(''), FindFirstFileW is called with L\\*.* !!!
Attached patch fixes (and tests) the problem. It was