Claudiu.Popa added the comment: Hi, Victor! The second patch does use os.fsencode. I'll update the first one with this change. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19997> _______________________________________