Serhiy Storchaka added the comment:
See also a discussion at Python-Dev:
http://comments.gmane.org/gmane.comp.python.devel/149048
Looks as there are no need to add bytes path in such high-level API. In any
case you can call os.fsdecode() on path argument.
--
resolution: - rejected
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
stage: - needs patch
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20797
New submission from Laurent Mazuel:
Many methods which use path in Python now accept string or bytes in parameter
(e.g. all methods in os.path, the open method, etc.).
Actually, sometimes it is not possible to handle a file without using bytes
path. For example, path coded in another encoding