From b6e79e39ed7a371f17a59ab992c8c0682da30209 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 8 Nov 2017 08:40:01 +0100 Subject: Clarify that load_config() still just works --- kconfiglib-2-changes.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kconfiglib-2-changes.txt') 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 -- cgit v1.2.3