Repository navigation
Updated default error_score to raise_deprecating and added a warning message before the raise - #10583
Closed
uwaisiqbal wants to merge 2 commits into
Closed
uwaisiqbal wants to merge 2 commits into
uwaisiqbal wants to merge 2 commits into
Conversation
jnothman
reviewed
Feb 4, 2018
jnothman
left a comment
Member
There was a problem hiding this comment.
I think you've missed some of the point. We still need error_score='raise' to be an option. (Even if we just warned and allowed the user to set the warning handler to 'raise', it would lose the original traceback.) So while we change the default to 'raise-deprecating', we do not change the meaning of 'raise', we only add 'raise-deprecating' as a variant that both raises the error and warns that in the future the default will change.
I really implore you to look at the contributor guidelines:
- you have not marked whether this work is WIP or MRG based on whether it is acceptable for merge or acknowledged as having work to do.
- your PR description does not state the issue it fixes
- you do not have tests for your changes
- you have a PEP8 error: line lengths must be under 80 characters
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Any other comments?