diff options
author | Cory Benfield <lukasaoz@gmail.com> | 2016-03-16 13:31:34 +0000 |
---|---|---|
committer | Cory Benfield <lukasaoz@gmail.com> | 2016-03-16 13:31:34 +0000 |
commit | 320b85202ba992e595c409a654d213d0b05f1122 (patch) | |
tree | aa1e61044e5255adfbbba693634588bbe2e6dcde /urllib3/__init__.py | |
parent | 1c7559f8d304aeefb35c2836967375263c459e79 (diff) | |
download | urllib3-320b85202ba992e595c409a654d213d0b05f1122.tar.gz |
Add an explanatory comment re: append=True
Diffstat (limited to 'urllib3/__init__.py')
-rw-r--r-- | urllib3/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/urllib3/__init__.py b/urllib3/__init__.py index 92d2cb98..49b9dc66 100644 --- a/urllib3/__init__.py +++ b/urllib3/__init__.py @@ -74,6 +74,9 @@ def add_stderr_logger(level=logging.DEBUG): del NullHandler +# All warning filters *must* be appended unless you're really certain that they +# shouldn't be: otherwise, it's very hard for users to use most Python +# mechanisms to silence them. # SecurityWarning's always go off by default. warnings.simplefilter('always', exceptions.SecurityWarning, append=True) # SubjectAltNameWarning's should go off once per host |