diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-25 13:48:09 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-25 13:50:15 +0200 |
| commit | 44bfc1beb8db4026df69db1f407575933f1eb9a3 (patch) | |
| tree | 7f840d08e558c54e206a0b196fd9a66e0e97af2b | |
| parent | 7d86ff311949db5fc8a6d3791bb9c763627fb587 (diff) | |
Add comment motivating _already_written
| -rw-r--r-- | kconfiglib.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 0aadf2f..1dd47ac 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2472,6 +2472,10 @@ class Symbol(Item): # Set to true when _make_conf() is called on a symbol, so that symbols # defined in multiple locations only get one .config entry. We need to # reset it prior to writing out a new .config. + # + # The C implementation reuses _write_to_conf for this, but we cache + # _write_to_conf together with the value and don't invalidate cached + # values writing .config files, so that won't work. self._already_written = False # This is set to True for "actual" choice symbols; see # Choice._determine_actual_symbols(). |
