##// END OF EJS Templates
run_cell returns an ExecutionResult instance...
run_cell returns an ExecutionResult instance gh-7256 asked for a boolean return value from run_cell() for whether code ran successfully. I discussed this with Min, who suggested that given the complexity of run_cell, it should return a result object that can store different pieces of information about what happened. This currently stores `execution_count`, `error_before_exec` (i.e. errors transforming, parsing or compiling the code), `error_in_exec` and `result`. It calculates `success` as a boolean that's true if neither of the error fields are set. Closes gh-7256

File last commit:

r19521:309dc970
r19630:0e76a046
Show More
__main__.py
6 lines | 146 B | text/x-python | PythonLexer
Min RK
use `-c` to launch ipengine/ipcontroller on Windows Python 2...
r19521 def main():
MinRK
add `python -m` entry points for everything
r14009 from IPython.parallel.apps import ipcontrollerapp as app
app.launch_new_instance()
Min RK
use `-c` to launch ipengine/ipcontroller on Windows Python 2...
r19521
if __name__ == '__main__':
main()