STINNER Victor <victor.stin...@haypocalc.com> added the comment: Le vendredi 13 août 2010 20:36:22, vous avez écrit : > The CS_PATH variable is a colon-separated list of directories ("the value > for the PATH environment variable that finds all standard utilities"), so > the file system encoding is certainly correct there.
CS_PATH is hardcoded to "/bin:/usr/bin" in the GNU libc for UNIX. Do you know another key for which the value can be controled by the user (or the system administrator)? > I don't see any reference to an encoding in the POSIX spec for confstr(). CS_PATH is just an example, there are other keys. I'm not sure that all values are encoded to the filesystem encodings, it might be another encoding? Well, if we really doesn't know the encoding, a solution is to use a bytes API (which may avoid the question of the usage of the PEP 383). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9580> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com