[pypy-svn] r10177 - pypy/dist/pypy/interpreter
ac at codespeak.net
ac at codespeak.net
Wed Mar 30 16:03:22 CEST 2005
Author: ac
Date: Wed Mar 30 16:03:22 2005
New Revision: 10177
Modified:
pypy/dist/pypy/interpreter/executioncontext.py
pypy/dist/pypy/interpreter/pyframe.py
Log:
Remove dead code.
Modified: pypy/dist/pypy/interpreter/executioncontext.py
==============================================================================
--- pypy/dist/pypy/interpreter/executioncontext.py (original)
+++ pypy/dist/pypy/interpreter/executioncontext.py Wed Mar 30 16:03:22 2005
@@ -122,10 +122,6 @@
return frame.last_exception
return None
- def clear_exception(self):
- if operror is not None:
- operror.clear(space)
-
def get_state_dict(self):
"""A mechanism to store arbitrary per ExecutionContext data.
Similar to cpython's PyThreadState_GetDict.
Modified: pypy/dist/pypy/interpreter/pyframe.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyframe.py (original)
+++ pypy/dist/pypy/interpreter/pyframe.py Wed Mar 30 16:03:22 2005
@@ -124,18 +124,6 @@
executioncontext.return_trace(self, w_exitvalue)
return w_exitvalue
- ### exception stack ###
-
- def clean_exceptionstack(self):
- # remove all exceptions that can no longer be re-raised
- # because the current valuestack is no longer deep enough
- # to hold the corresponding information
- while self.exceptionstack:
- ctlflowexc, valuestackdepth = self.exceptionstack.top()
- if valuestackdepth <= self.valuestack.depth():
- break
- self.exceptionstack.pop()
-
### line numbers ###
def fget_f_lineno(space, w_self):
More information about the Pypy-commit
mailing list