##// END OF EJS Templates
Fix #11334: Cannot make multi-line code blocks in ipython...
Fix #11334: Cannot make multi-line code blocks in ipython When codeop.compile_command() returns None it actually says "at least some part of the code was compiled successfully" which is not really important for checking if it's complete or not. Once we haven't got any errors during compilation process, we just want to check if there will be another nested block of code or not by checking a colon.

File last commit:

r21337:03608cd1
r24624:a6c064a0
Show More
__main__.py
3 lines | 100 B | text/x-python | PythonLexer
MinRK
add `python -m` entry points for everything
r14009 if __name__ == '__main__':
Min RK
ipython_kernel is now ipykernel
r21337 from ipykernel import kernelapp as app
MinRK
add `python -m` entry points for everything
r14009 app.launch_new_instance()