[issue8514] Create fsencode() and fsdecode() functions in os.path
STINNER Victor
report at bugs.python.org
Mon Apr 26 12:49:22 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Oh! In Python3, ntpath.expanduser() supports bytes path and uses sys.getfilesystemencoding() to encode an unicode environment variable to a byte string.
Should we remove bytes path support in ntpath.expanduser(), or support bytes in ntpath.fsencode()/.fsdecode()?
(sys.getfilesystemencoding() is "mbcs" on Windows)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8514>
_______________________________________
More information about the Python-bugs-list
mailing list