diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-08 08:40:01 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-08 08:40:01 +0100 |
| commit | b6e79e39ed7a371f17a59ab992c8c0682da30209 (patch) | |
| tree | e09ae2f585d6b96cd839c7ebea2f2a0b8ee85c82 | |
| parent | cafb421105f3acfa4266649d4466386bc0ac81d3 (diff) | |
Clarify that load_config() still just works
| -rw-r--r-- | kconfiglib-2-changes.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kconfiglib-2-changes.txt b/kconfiglib-2-changes.txt index 3cdcb2d..09c1f30 100644 --- a/kconfiglib-2-changes.txt +++ b/kconfiglib-2-changes.txt @@ -76,7 +76,9 @@ New features: In Kconfiglib 1, choices magically changed mode when values were assigned to choice symbols, which was meant to make .config loading just work. In Kconfiglib 2, the mode must be assigned manually (though most choices can - only be in n or y mode anyway and take care of themselves). + only be in n or y mode anyway and take care of themselves). load_config() + was updated to infer the mode from the types of values assigned to choice + symbols and set it explicitly. Choices now have an .assignable attribute too, which makes the API perfectly consistent between symbols and choices. The choice mode acts as |
