Uh oh!
There was an error while loading. Please reload this page.
Use Warning classes not ignored by default filters - #71
Merged
Conversation
This patch addresses a now-resolved curiosity where `DeprecationWarning`s were not being visibly raised when intentionally triggered in an application. They turn out to be ignored by default. `UserWarning`s were also not displaying by default, so this patch designates some of the erroneous behaviors not intended to cause halts as `RuntimeWarning`s. This patch also adds the expected environment variable name to a docstring visible in the command-line help() interface. References: * https://docs.python.org/3/library/warnings.html Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nistforce-pushed
the
fix_deprecation_warning_style
branch
from
September 16, 2022 15:22
c27ac59 to
a0b2d1eCompareajnelson-nist
marked this pull request as ready for review
September 16, 2022 15:59
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 freeto 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.
This patch addresses a now-resolved curiosity where
DeprecationWarnings were not being visibly raised when intentionally triggered in an application. They turn out to be ignored by default.UserWarnings were also not displaying by default, so this patch designates some of the erroneous behaviors not intended to cause halts asRuntimeWarnings.This patch also adds the expected environment variable name to a docstring visible in the command-line help() interface.
References: