[issue3187] os.listdir can return byte strings
Guido van Rossum
report at bugs.python.org
Thu Oct 2 18:43:48 CEST 2008
Guido van Rossum <guido at python.org> added the comment:
Martin, can you check in your changes to add sys.setfilesystemencoding()?
I will check in Victor's changes (with some edits).
Together this means that the various suggested higher-level solutions
(like returning path-like objects, or some kind of roudtripping
almost-but-not-quite-utf-8 encoding) can be implemented in pure Python.
----------
assignee: -> gvanrossum
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3187>
_______________________________________
More information about the Python-bugs-list
mailing list