[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
http://bugs.python.org/issue818059
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 developed on 3.0,
but applies on all versions.

--
keywords: +needs review, patch
nosy: +amaury.forgeotdarc
priority: normal - high
stage:  - patch review
Added file: http://bugs.python.org/file1/listdir.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue818059
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com