aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-01-18 13:44:08 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2017-01-18 00:44:08 -0500
commit5ab97a0694fdc3650f27500ec75bfebe8398298b (patch)
treee1de1b8fb6159529222289d4162808179f475f65
parent66a2372ab3151aaa916efab0e700d733edc44e18 (diff)
downloadcryptography-5ab97a0694fdc3650f27500ec75bfebe8398298b.tar.gz
cryptography-5ab97a0694fdc3650f27500ec75bfebe8398298b.tar.bz2
cryptography-5ab97a0694fdc3650f27500ec75bfebe8398298b.zip
update comment to be more descriptive (#3349)
-rw-r--r--src/cryptography/hazmat/backends/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cryptography/hazmat/backends/__init__.py b/src/cryptography/hazmat/backends/__init__.py
index c0ba26c8..b191cbe6 100644
--- a/src/cryptography/hazmat/backends/__init__.py
+++ b/src/cryptography/hazmat/backends/__init__.py
@@ -14,8 +14,9 @@ def _available_backends():
global _available_backends_list
if _available_backends_list is None:
- # Import here to reduce import time.
- # pkg_resources takes about 100ms to load.
+ # Lazy import pkg_resources here to avoid the performance issue
+ # on systems with many packages detailed in
+ # https://github.com/pypa/setuptools/issues/926
import pkg_resources
entry_point_backends = [