Skip to content

Add --hide-error-context back (undocumented) #2545

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

Closed
gvanrossum opened this issue Dec 9, 2016 · 1 comment
Closed

Add --hide-error-context back (undocumented) #2545

gvanrossum opened this issue Dec 9, 2016 · 1 comment

Comments

@gvanrossum
Copy link
Member

See PR #2540. This replaced --hide-error-context with --show-error-context (and changed the default). But for backwards compatibility and in case one wants to override the config file with a manual flag it would be nice to add

parser.add_argument('--hide-error-context', action='store_true',
                        dest='hide_error_context',
                        help=argparse.SUPPRESS)
@gvanrossum
Copy link
Member Author

While you're at it maybe move the hide_error_context option out of the experimental section in options.py?

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

1 participant