<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v12.5.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v12.5.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v12.5.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2019-06-15T19:36:43Z</updated>
<entry>
<title>menuconfig: Be silent when changing LC_CTYPE to a UTF-8 locale</title>
<updated>2019-06-15T19:36:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-15T19:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0c79d2332c85123b5f83be8fa06d5ce5cb261f4e'/>
<id>urn:sha1:0c79d2332c85123b5f83be8fa06d5ce5cb261f4e</id>
<content type='text'>
Having LC_ALL=C and the like in Makefiles is probably pretty common, to
get consistent collation and messages from commands and stuff. It
currently makes menuconfig.py spit out a warning about changing the
locale to a UTF-8 locale though.

Just remove the message, and silently change the locale. The Python 3.7
PEP 538 code is silent as well.
</content>
</entry>
<entry>
<title>menuconfig/guiconfig: Clean up 'range' checking a bit</title>
<updated>2019-06-09T12:00:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-07T15:49:05Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c295c312dd76be6b61bdaccda5b70be9cb79cf5f'/>
<id>urn:sha1:c295c312dd76be6b61bdaccda5b70be9cb79cf5f</id>
<content type='text'>
Just cosmetic.
</content>
</entry>
<entry>
<title>menuconfig: Fix help display on Python 2</title>
<updated>2019-06-06T07:24:51Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-06T07:24:51Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=443e6bb8efd41f1e4bb42e1efdb37e9c3e22dc67'/>
<id>urn:sha1:443e6bb8efd41f1e4bb42e1efdb37e9c3e22dc67</id>
<content type='text'>
textwrap.indent() was added in Python 3.3.
</content>
</entry>
<entry>
<title>Update various comments now that menuconfig is Python 2-compatible</title>
<updated>2019-06-06T02:57:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-05T11:45:38Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=319f7f0f09a620e7cd9987d4834660598bfb7109'/>
<id>urn:sha1:319f7f0f09a620e7cd9987d4834660598bfb7109</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Have hashbang point to 'python' instead of 'python3'</title>
<updated>2019-06-06T02:33:56Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-05T11:48:32Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c209188bc4912e0fb55d818d8157cbdcde067d3c'/>
<id>urn:sha1:c209188bc4912e0fb55d818d8157cbdcde067d3c</id>
<content type='text'>
Consistent with the other utilities, and now works even when 'python' is
Python 2.
</content>
</entry>
<entry>
<title>menuconfig: Import print_function for Python 2 compatibility</title>
<updated>2019-06-06T02:21:19Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-05T10:55:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=fe6ed995ea1f7491d6935710b71c052eeb34b821'/>
<id>urn:sha1:fe6ed995ea1f7491d6935710b71c052eeb34b821</id>
<content type='text'>
</content>
</entry>
<entry>
<title>menuconfig: Only decode curses.erasechar() on Python 3</title>
<updated>2019-06-06T02:21:19Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-05T11:20:44Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c3162bec586619de935ac1d9801e4332cead9969'/>
<id>urn:sha1:c3162bec586619de935ac1d9801e4332cead9969</id>
<content type='text'>
Avoids turning it into a Unicode string on Python 2, which gets messy
when strings are compared.
</content>
</entry>
<entry>
<title>menuconfig: Fall back on getch() when get_wch() isn't available</title>
<updated>2019-06-06T02:19:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-05T10:52:15Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b2e211d34fea5ae8e88d9f35cc90ae80c534e38f'/>
<id>urn:sha1:b2e211d34fea5ae8e88d9f35cc90ae80c534e38f</id>
<content type='text'>
Preparation for Python 2 compatibility. Also indirectly makes it
compatible with Python 3.2 and earlier (get_wch() was added in 3.3).
</content>
</entry>
<entry>
<title>menuconfig: Get rid of 'nonlocal'</title>
<updated>2019-06-06T02:12:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-05T10:22:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=41b58918ac594d957556d6df83cf256ab50d7645'/>
<id>urn:sha1:41b58918ac594d957556d6df83cf256ab50d7645</id>
<content type='text'>
Preparation for Python 2 compatibility.
</content>
</entry>
<entry>
<title>Improve warning control API (with backwards compatibility)</title>
<updated>2019-06-03T04:50:06Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-06-02T23:55:50Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=bf36f5de0f49d56975b1a844e25484ec385dc971'/>
<id>urn:sha1:bf36f5de0f49d56975b1a844e25484ec385dc971</id>
<content type='text'>
A wart of the warning control API (enable/disable_*_warnings()) is that
the current warning settings can't be queried. Querying warning settings
is useful in functions that want to temporarily enable/disable some
warning and then put things back to how they were.
kconfiglib.load_allconfig() ran into this, for example.

Make the internal warning control variables public (improve the naming
at the same time), and encourage just setting them directly. Keep the
old API for backwards compatibility.

Also remove _warn_redun_assign() and _warn_override(). They're trivial
and were called in a single place.
</content>
</entry>
</feed>
