From dd1be546016b227411e50376515956ed381ee270 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 6 Jun 2019 19:08:34 +0200 Subject: genconfig: Support generating lists of files and environment vars. This can be useful to avoid needless reconfiguration, by checking if any Kconfig file or environment variable has changed value before running genconfig. --- kconfiglib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index f4fe90e..c24e724 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3771,9 +3771,9 @@ class Kconfig(object): # The "U" flag would currently work for both Python 2 and 3, but it's # deprecated on Python 3, so play it future-safe. # - # A simpler solution would be to use io.open(), which defaults to - # universal newlines on both Python 2 and 3 (and is an alias for - # open() on Python 3), but it's appreciably slower on Python 2: + # io.open() defaults to universal newlines on Python 2 (and is an + # alias for open() on Python 3), but it returns 'unicode' strings and + # slows things down: # # Parsing x86 Kconfigs on Python 2 # -- cgit v1.2.3