STINNER Victor added the comment: > If a file name was invalid byte character, > os.chdir() raises UnicodeDecodeError() instead of WindowsError.
I believe this case is not handled correctly in Python 3.4 (version under development) thanks to my work on issue #15478. Thanks for the report Atsuo Ishimoto! Don't hesitate to report other similar issue ;-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15441> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com