diff options
author | Marc-André Lemburg <mal@egenix.com> | 2000-09-18 11:06:00 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2000-09-18 11:06:00 (GMT) |
commit | 09cad08d754e5d458d79d26ff61fccfeff39a059 (patch) | |
tree | a7383c0f58fd80a15b093944cb46cafc35a96759 /Tools/README | |
parent | 0b7b4b8a229532bb7f634aedf0db81adfeb2ae18 (diff) | |
download | cpython-09cad08d754e5d458d79d26ff61fccfeff39a059.zip cpython-09cad08d754e5d458d79d26ff61fccfeff39a059.tar.gz cpython-09cad08d754e5d458d79d26ff61fccfeff39a059.tar.bz2 |
sys.setdefaultencoding() should only be called in case the standard
default encoding ("ascii") is changed. This safes quite a few cycles
during startup since the first call to .setdefaultencoding() will
initialize the codec registry and the encodings package.
See python-dev for a discussion (Subject: "[Python-Dev] [comp.lang.python] sys.setdefaultencoding (2.0b1)").
Diffstat (limited to 'Tools/README')
0 files changed, 0 insertions, 0 deletions