Commits

Author Commit Message Labels Comments Date
Ronan Lamy
Copy end_finally() into FSFrame
Branches
translation-cleanup
Ronan Lamy
Don't derive FSException from OperationError
Branches
translation-cleanup
Ronan Lamy
Flowspacify FOR_ITER
Branches
translation-cleanup
Ronan Lamy
Kill old implementations of WITH_CLEANUP in pyopcode.py It's only the translator that needs to know about old implementations, not the interpreter.
Branches
translation-cleanup
Ronan Lamy
Flowspacify WITH_CLEANUP + Kill FSFrame.call_context_manager_exitfunction()
Branches
translation-cleanup
Ronan Lamy
Copy (exactly) WITH_CLEANUP to FSFrame
Branches
translation-cleanup
Ronan Lamy
Don't use RaiseWithExplicitTraceback in flow space
Branches
translation-cleanup
Ronan Lamy
Do not attach tracebacks to FSExceptions RPython didn't actually do anything with these tracebacks.
Branches
translation-cleanup
Ronan Lamy
Replace operr.normalize_exception() with space.exc_from_raise()
Branches
translation-cleanup
Ronan Lamy
Inline _exception_getclass() into FSException. Since space.exception_is_valid_class_w() is always true in flow space, <FSException>._exception_getclass(space, w_inst) is equivalent to space.type(w_inst). + make ObjSpace.exception_is_valid_class_w() independent of flow space
Branches
translation-cleanup
Ronan Lamy
Use FlowingError for non-constant excepts. * Add failing test (raises the wrong exception)
Branches
translation-cleanup
Ronan Lamy
Kill OperationThatShouldNotBePropagatedError * Use FlowingError instead * Improve tests for that case
Branches
translation-cleanup
Ronan Lamy
Simplify import_from() logic * Copy and adapt getattr() code, so that import_from() doesn't rely on repackaging OperationThatShouldNotBePropagatedError
Branches
translation-cleanup
Ronan Lamy
Raise FlowingError when attempting to write a global.
Branches
translation-cleanup
Ronan Lamy
Inline format_global_error() into FlowingError.__str__()
Branches
translation-cleanup
Ronan Lamy
Implement exception formatting inside FlowingError This avoids unnecessary catching/munging/reraising of exceptions. + Attach the FlowSpaceFrame to the exception, allowing improved debugging and advanced error-handling. + Fix crazy hack for undefined globals.
Branches
translation-cleanup
Ronan Lamy
Use FlowingError only in the flow space
Branches
translation-cleanup
Ronan Lamy
Move FlowingError handling from FlowObjSpace to FSFrame + rationalise some imports
Branches
translation-cleanup
Ronan Lamy
FSException: access w_value directly
Branches
translation-cleanup
Ronan Lamy
Add FSException.__init__()
Branches
translation-cleanup
Ronan Lamy
Remove _convert_exc()
Branches
translation-cleanup
Ronan Lamy
Use only FSException, not OperationError, in flow space. * Reimplement OperationError.normalize_exception() in FSException * Create flowspace-specific subclass of SApplicationException
Branches
translation-cleanup
Ronan Lamy
Replace Reraise exception with RaiseWithExplicitTraceback
Branches
translation-cleanup
Ronan Lamy
Flowspacify RAISE_VARARGS
Branches
translation-cleanup
Ronan Lamy
Create flowspace-specific subclass of OperationError This is the first step towards reimplementing exception-handling inside the flow space.
Branches
translation-cleanup
Ronan Lamy
Move flowspace-specific exceptions to flowcontext.py
Branches
translation-cleanup
Ronan Lamy
Move handle_implicit_exceptions() to FSFrame
Branches
translation-cleanup
Ronan Lamy
Get rid of MergeBlock exception Use FSFrame.record() to record operations and call FSFrame.mergeblock() directly from there.
Branches
translation-cleanup
Ronan Lamy
Inline FSFrame.dispatch_bytecode()
Branches
translation-cleanup
Ronan Lamy
Remove FlowExecutionContext: merge it with FlowSpaceFrame.
Branches
translation-cleanup
  1. Prev
  2. Next