[issue13561] os.listdir documentation should mention surrogateescape
New submission from Michael Foord
Changes by Éric Araujo
STINNER Victor
misdre
Éric Araujo
Irit Katriel
STINNER Victor
I think this was added in another section of this doc. See the second paragraph in https://docs.python.org/3/library/os.html#file-names-command-line-arguments-...
Right, this section now explains encodings and the error handler.
Moreover, I recently reworked the documentation of the filesystem encoding and error handler:
* https://docs.python.org/dev/glossary.html#term-filesystem-encoding-and-error...
* https://docs.python.org/dev/library/os.html#python-utf-8-mode
* https://docs.python.org/dev/library/sys.html#sys.getfilesystemencoding
* etc.
I consider that it's now enough, I close the issue ;-) If someone wants to enhance the doc, please submit a PR. This issue is now quite old :-)
----------
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
_______________________________________
Python tracker
participants (5)
-
Irit Katriel
-
Michael Foord
-
misdre
-
STINNER Victor
-
Éric Araujo