summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-08 21:34:21 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-08 22:53:57 +0200
commite645142fb95a4ca8c0c21186152fa487b1001a47 (patch)
tree834def1122775d9ec08ac41af8811823d61bb016 /README.md
parent9b20903173f4aef0d80b117e0e5df59f94c5a491 (diff)
Add Python 3 support.
Only incompatibilities left were itervalues() vs. values() and 'print' expressions.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index d646269..a5cb3fe 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,8 @@ extract information, query and set symbol values, and read and write
utilities in the kernel, usually invoked via make targets such as
<i>menuconfig</i> and <i>defconfig</i>.
+Supports both Python 2 and Python 3 without modification.
+
One feature is missing: Kconfiglib assumes the modules symbol is `MODULES`, and
will warn if `option modules` is set on some other symbol. Let me know if this
is a problem for you, as adding support shouldn't be that hard. I haven't seen
@@ -70,7 +72,7 @@ language has some dark corners.
The test suite is run with
- $ python Kconfiglib/testsuite.py
+ $ python(3) Kconfiglib/testsuite.py
**NOTE: Some tests currently overwrite .config in the kernel root, so make sure to back it up.**
@@ -81,8 +83,6 @@ configurations generated by Kconfiglib with configurations generated by
## Misc. notes ##
- * Python 2 is used at the moment.
-
* Kconfiglib works well with [PyPy](http://pypy.org). It might give a nice
speedup over CPython when batch processing a large number of configurations,
as well as when running the test suite.