Ezio Melotti <ezio.melo...@gmail.com> added the comment:

I should have added that both 'א' and u'א' work as long as the file names in 
the list returned by glob() are ASCII: if u'א' is used they are simply coerced 
to unicode.
If there are non-ASCII file names in the glob() list, the copy fails because 
Python 2 tries to coerce the name to unicode decoding it implicitly with the 
'ascii' codec, and that fails.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to