summaryrefslogtreecommitdiff
path: root/src/cryptography/utils.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-03-21 09:24:12 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-03-21 09:24:12 -0400
commita783c57b7fa71a7cc6e354f37f79cc7239fb8bd7 (patch)
treec78c71feac23089219cd554791857e45a875edc9 /src/cryptography/utils.py
parentfd2b27aa063c31258482c9b432c80c98b5a93f07 (diff)
downloadcryptography-a783c57b7fa71a7cc6e354f37f79cc7239fb8bd7.tar.gz
Remove API deprecated in 1.6, clean up the legacy deprecations (#3468)
* Remove API deprecated in 1.6, clean up the legacy deprecations * flake8, unused import
Diffstat (limited to 'src/cryptography/utils.py')
-rw-r--r--src/cryptography/utils.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py
index 8183bdafa..ab3c84e1a 100644
--- a/src/cryptography/utils.py
+++ b/src/cryptography/utils.py
@@ -13,12 +13,10 @@ import warnings
from packaging.version import parse
-# the functions deprecated in 1.0 and 1.4 are on an arbitrarily extended
-# deprecation cycle and should not be removed until we agree on when that cycle
-# ends.
-DeprecatedIn10 = DeprecationWarning
-DeprecatedIn14 = DeprecationWarning
-DeprecatedIn16 = DeprecationWarning
+# Several APIs were deprecated with no specific end-of-life date because of the
+# ubiquity of their use. They should not be removed until we agree on when that
+# cycle ends.
+PersistentlyDeprecated = DeprecationWarning
def read_only_property(name):