diff options
author | Marc-André Lemburg <mal@egenix.com> | 2000-09-18 11:06:00 +0000 |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2000-09-18 11:06:00 +0000 |
commit | 09cad08d754e5d458d79d26ff61fccfeff39a059 (patch) | |
tree | a7383c0f58fd80a15b093944cb46cafc35a96759 /Python/bltinmodule.c | |
parent | 0b7b4b8a229532bb7f634aedf0db81adfeb2ae18 (diff) | |
download | cpython-git-09cad08d754e5d458d79d26ff61fccfeff39a059.tar.gz |
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 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions