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
Define sys.ps{1,2} #123
Comments
I'm not sure that setting
I think the author of the original issue might be better off passing some command line flags and parsing Nonetheless it is true that
and it'd be easy to set |
Did you mean to open a PR for this? |
Well, I'm not sure how I feel about it, so I haven't yet... but I will now, just to get some other commentary on the issue. |
Define generic sys.ps{1,2,3}, for use by scripts. Closes ipython#123.
Define generic sys.ps{1,2,3}, for use by scripts. Closes ipython#123.
See https://bugs.launchpad.net/ipython/+bug/512826 for prior history.
Summary: we should define sys.ps{1,2} to make it easier for scripts to detect if they are being loaded interactively or not, and without ipython-specific checks.
The text was updated successfully, but these errors were encountered: