commit | df6d6cb0facc32a5456f72e973f9e33660229612 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sun Oct 24 20:32:26 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sun Oct 24 20:32:26 2010 +0000 |
tree | 1efa4e7d5a2d78b8a5dee8291456ade099174b8d | |
parent | 2062937aff803fe0b8e26c20c5585675b852fb8f [diff] |
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.