From 41c039187b27989fb6bd5f4ba0584ae14fcc0345 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 8 Dec 2012 21:10:34 +0100 Subject: Add _get_dependent() note. --- kconfiglib.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kconfiglib.py b/kconfiglib.py index 1337811..1000be9 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2937,6 +2937,10 @@ class Symbol(Item, _HasVisibility): if self.cached_deps is not None: return self.cached_deps + # TODO: This still recalculates a lot. Should use a recursive + # _get_dependent() call to make best use of caching. Make sure to get + # it right w.r.t. choices. + # Calculate using a set to avoid duplicates in the result res = set() -- cgit v1.2.3