]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
os: fsencode(), fsdecode() and os.environ(b) internal encode-decode methods
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 24 Oct 2010 20:32:26 +0000 (20:32 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 24 Oct 2010 20:32:26 +0000 (20:32 +0000)
commitdf6d6cb0facc32a5456f72e973f9e33660229612
tree1efa4e7d5a2d78b8a5dee8291456ade099174b8d
parent2062937aff803fe0b8e26c20c5585675b852fb8f
os: fsencode(), fsdecode() and os.environ(b) internal encode-decode methods
keep a local copy of the fileystem encoding, instead of calling
sys.getfilesystemencoding() each time.

The filesystem encoding is now constant.
Lib/os.py