diff options
author | Barry Warsaw <barry@python.org> | 1999-01-29 20:29:49 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1999-01-29 20:29:49 (GMT) |
commit | 7890203f491e9e967017676bf444b03c913ca8b5 (patch) | |
tree | 5b4699b887288c87b2cf82e6c4117a67384656ff | |
parent | 75930b31e25c4c45f2a2f7e3f568515de29c68f9 (diff) | |
download | cpython-7890203f491e9e967017676bf444b03c913ca8b5.zip cpython-7890203f491e9e967017676bf444b03c913ca8b5.tar.gz cpython-7890203f491e9e967017676bf444b03c913ca8b5.tar.bz2 |
bltin_exc[]: EnvironmentError is not a "leaf exception", so set it's
leaf_exc flag to zero otherwise the name leaks memory.
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index b0d0648..7eb0f6a 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2005,7 +2005,7 @@ bltin_exc[] = { {"AttributeError", &PyExc_AttributeError, 1}, {"EOFError", &PyExc_EOFError, 1}, {"FloatingPointError", &PyExc_FloatingPointError, 1}, - {"EnvironmentError", &PyExc_EnvironmentError, 1}, + {"EnvironmentError", &PyExc_EnvironmentError, 0}, {"IOError", &PyExc_IOError, 1}, {"OSError", &PyExc_OSError, 1}, {"ImportError", &PyExc_ImportError, 1}, |