New submission from Serhiy Storchaka:
Some OS functions which returns bytes (os.environb, os.getenvb(), os.getcwdb(), os.listdir(), os.readlink(), os.walk(), os.path.abspath(), os.path.expanduser(), os.path.expandvars(), os.path.realpath() and may be other) can return unusable result on Windows (see for example issue13247 and issue16656). The documentation should contains strong warnings about this.
assignee: docs@python components: Documentation, Windows messages: 177613 nosy: docs@python, serhiy.storchaka priority: normal severity: normal stage: needs patch status: open title: Document that bytes OS API can returns unusable results on Windows type: enhancement versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Steve Kowalik added the comment:
I've looked at the documentation for both Python 3.5 and 3.6, and I think this is all fine -- things like os.environb and os.getcwdb() are clearly stated as not available on Windows, and the path functions look to work fine in my testing.
Serhiy Storchaka added the comment:
Maybe this issue is outdated in 3.6 (thanks to PEP 529), but this still is a problem under 3.5 and 2.7.
status: closed -> open versions: +Python 3.5 -Python 3.3, Python 3.4
Serhiy Storchaka firstname.lastname@example.org added the comment:
Python 2.7 is no longer supported.
resolution: -> out of date stage: needs patch -> resolved status: open -> closed