Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What happened to Exit? #672

Closed
typeshige opened this issue Aug 3, 2011 · 4 comments
Closed

What happened to Exit? #672

typeshige opened this issue Aug 3, 2011 · 4 comments
Milestone

Comments

@typeshige
Copy link

Hi,

In previous versions, 'Exit' == 'exit()'.

Was this something that was lost in the new version?

Is there a way to get it back?

Thanks,
Shige

@takluyver
Copy link
Member

On 3 August 2011 20:40, typeshige <
reply@reply.github.com>wrote:

In previous versions, 'Exit' == 'exit()'.

Was this something that was lost in the new version?

Is there a way to get it back?

We intentionally removed the capitalised names, because lowercase seemed
more pythonic. If you're really keen to get the old name back, you can just
put "Exit = exit" in exec_lines in your config file.

Thanks,
Thomas

@ellisonbg
Copy link
Member

In 0.10.x IPython had numerous way of exiting. This was confusing and
not needed. In 0.11 we have simplified this to simply be:

exit

Which does exactly what Exit and exit() used to.

Cheers,

Brian

On Wed, Aug 3, 2011 at 12:40 PM, typeshige
reply@reply.github.com
wrote:

Hi,

In previous versions, 'Exit' == 'exit()'.

Was this something that was lost in the new version?

Is there a way to get it back?

Thanks,
Shige

Reply to this email directly or view it on GitHub:
#672

Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com

@takluyver
Copy link
Member

On 3 August 2011 20:47, ellisonbg <
reply@reply.github.com>wrote:

In 0.11 we have simplified this to simply be:

exit

There's also still quit, and both of them work as an explicit call
(exit()) too.

@typeshige
Copy link
Author

Oh, what do you know?

exit works fine!

Thanks, this is an awesome new release but there is a lot of little things to re-learn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants