[issue1777458] glob doesn't return unicode with unicode parameter

Antoine Pitrou report at bugs.python.org
Fri Aug 22 17:57:28 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Seems fixed on 2.6.

Python 2.6b3+ (trunk, Aug 22 2008, 11:27:51) [MSC v.1500 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import glob
>>> glob.glob("*.py")
['iocrash.py', 'setup.py']
>>> glob.glob(u"*.py")
[u'iocrash.py', u'setup.py']
>>> glob.glob(u"./*.py")
[u'.\\iocrash.py', u'.\\setup.py']

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1777458>
_______________________________________


More information about the Python-bugs-list mailing list