Commit 9c4028ee authored by Barry Warsaw's avatar Barry Warsaw

bltin_exc[]: EnvironmentError is not a "leaf exception", so set it's

leaf_exc flag to zero otherwise the name leaks memory.
parent 2552daa8
......@@ -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},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment