[issue818059] os.listdir on empty strings. Inconsistent behaviour.

2009-05-28 Thread Benjamin Peterson
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

[issue818059] os.listdir on empty strings. Inconsistent behaviour.

2009-04-25 Thread Daniel Diniz
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

[issue818059] os.listdir on empty strings. Inconsistent behaviour.

2008-12-04 Thread Amaury Forgeot d'Arc
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