From e645142fb95a4ca8c0c21186152fa487b1001a47 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 8 Jun 2015 21:34:21 +0200 Subject: Add Python 3 support. Only incompatibilities left were itervalues() vs. values() and 'print' expressions. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') 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 menuconfig and defconfig. +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. -- cgit v1.2.3