Serhiy Storchaka added the comment: Oh, I missed that os.listdir() on Mac returns really strange result. Thank you Senthil.
Here is a patch which try to workaround this. I'm not sure that it is enough. May be we should fix os.listdir(). Or conclude that this issue can't be fixed on Mac OS. ---------- components: +Macintosh nosy: +haypo, hynek, ned.deily, ronaldoussoren resolution: fixed -> stage: resolved -> Added file: http://bugs.python.org/file36390/test_undecodable_filename.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22165> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com