diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 05:49:33 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 05:49:33 (GMT) |
commit | ac3625fcb95c2c54e40e1a27f2395811adbed03e (patch) | |
tree | 7ef987a510e3ad2e43ee67ca6854cd6af23673f9 /Python/sysmodule.c | |
parent | fc85c92a85e08d39ea769a07a3dc2a3c83c21477 (diff) | |
download | cpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.zip cpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.tar.gz cpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.tar.bz2 |
Remove sys.exc_type, sys.exc_value, sys.exc_traceback
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index dfa6ac8..875f73f 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -179,10 +179,6 @@ sys_exc_clear(PyObject *self, PyObject *noargs) Py_XDECREF(tmp_type); Py_XDECREF(tmp_value); Py_XDECREF(tmp_tb); - /* For b/w compatibility */ - PySys_SetObject("exc_type", Py_None); - PySys_SetObject("exc_value", Py_None); - PySys_SetObject("exc_traceback", Py_None); Py_INCREF(Py_None); return Py_None; } |