diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-06-06 19:08:34 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-06-07 07:03:17 +0200 |
| commit | dd1be546016b227411e50376515956ed381ee270 (patch) | |
| tree | 3b3a3f952d79e0e7d57130da3713e103d82cab30 /kconfiglib.py | |
| parent | f503ea39a10f685bf3fc2fb21f2748aad6c5ee99 (diff) | |
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.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 # |
