Steve Dower added the comment:

Lib/posixpath.py needs a huge amount of work to behave correctly for either 
bytes or Unicode paths. I don't know why Lib/ntpath.py is okay here, but the 
code is different so I suspect it just happens to not need the same conversion.

Switching for each platform is probably the only way, unless you find someone 
willing to go through and make Unicode paths viable on Python 2.7 (this came up 
earlier today on one of the lists).

----------

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

Reply via email to