<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/kconfiglib.py, branch v10.18.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.18.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.18.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-10-30T23:02:43Z</updated>
<entry>
<title>Make errno/strerror/filename available on IOError</title>
<updated>2018-10-30T23:02:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-30T22:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=14603c0fed58ebbd137b39b1be2d645d5152716b'/>
<id>urn:sha1:14603c0fed58ebbd137b39b1be2d645d5152716b</id>
<content type='text'>
An error reporting flaw was that most raised IOErrors got their
errno/strerror/filename fields stripped, due to wanting to show a custom
messages. The problem was that adding back 'errno' and 'strerror' made
IOError.__str__() always return a fixed string
("[Errno &lt;errno&gt;] &lt;strerror&gt;"), ignoring any custom message.

This is friendly to users, but unfriendly to scripts (the menuconfig had
a workaround). Make things friendly to both by raising an internal
subclass of IOError instead, that preserves errno/strerror/filename but
prints a custom message. The exception can then still be caught as
IOError/OSError by scripts.
</content>
</entry>
<entry>
<title>Simplify _INIT_SRCTREE_NOTE definition</title>
<updated>2018-10-30T22:02:20Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-30T22:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=ac5ac5f8ada90e3b41b998bd715497be4109b3ab'/>
<id>urn:sha1:ac5ac5f8ada90e3b41b998bd715497be4109b3ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove no longer needed 'node.item is None' tests</title>
<updated>2018-10-30T22:02:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-30T21:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=81272be3cefa0c14de753542e3334841f09bc4a0'/>
<id>urn:sha1:81272be3cefa0c14de753542e3334841f09bc4a0</id>
<content type='text'>
After commit e0256b6 ("Have MENU and COMMENT match _T_MENU and
_T_COMMENT"), the only falsy value for node.item is None, since all
token constants are truthy (since they're never 0).
</content>
</entry>
<entry>
<title>Replace 'indent == 0' with 'not indent'</title>
<updated>2018-10-28T17:28:40Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-28T17:21:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c679105fd9d26b2266ed7f46b652ae27e9539bbc'/>
<id>urn:sha1:c679105fd9d26b2266ed7f46b652ae27e9539bbc</id>
<content type='text'>
Tiny bit faster and smaller. Clear in context.
</content>
</entry>
<entry>
<title>Have MENU and COMMENT match _T_MENU and _T_COMMENT</title>
<updated>2018-10-28T16:54:26Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-28T16:25:29Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=e0256b65a939732b768d594f466a3b380fc26515'/>
<id>urn:sha1:e0256b65a939732b768d594f466a3b380fc26515</id>
<content type='text'>
Same approach as for the expression type symbolic constants. Removes a
tiny bit of conversion and makes things a bit more consistent.
</content>
</entry>
<entry>
<title>Shorten exception class definitions a bit</title>
<updated>2018-10-28T15:54:50Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-28T15:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d3e5d547da77124395a4fdc62f97655544d464b6'/>
<id>urn:sha1:d3e5d547da77124395a4fdc62f97655544d464b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove leftover comment in _add_choice_deps()</title>
<updated>2018-10-28T14:38:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-28T14:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c4201413a092d2914e16e5f79a1ae6133aa2ce53'/>
<id>urn:sha1:c4201413a092d2914e16e5f79a1ae6133aa2ce53</id>
<content type='text'>
Made more sense when the code was part of _build_dep(). The same thing
is explained in the function docstring now.
</content>
</entry>
<entry>
<title>Micro-optimize dependency loop checking</title>
<updated>2018-10-28T14:12:07Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-28T14:01:50Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3f1eed76d8c60179f485696da29b24983d533268'/>
<id>urn:sha1:3f1eed76d8c60179f485696da29b24983d533268</id>
<content type='text'>
Turn the _check_dep_loop_sym lookup into a LOAD_FAST inside the loop.
</content>
</entry>
<entry>
<title>Support enabling the assignment-to-undef. symbol warning via the environment</title>
<updated>2018-10-26T21:34:18Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-26T20:23:27Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=699fd81bf3a67606396035697357c5665dcd68af'/>
<id>urn:sha1:699fd81bf3a67606396035697357c5665dcd68af</id>
<content type='text'>
This makes it possible to enable it for the bundled tools, by setting
KCONFIG_WARN_UNDEF_ASSIGN=y. Previously, the code had to be modified to
call Kconfig.enable_undef_warnings().

Also rename KCONFIG_STRICT to KCONFIG_WARN_UNDEF, for consistency. Keep
supporting KCONFIG_STRICT as an alias for backwards compatibility.
</content>
</entry>
<entry>
<title>Move _is_num() into _check_undef_syms()</title>
<updated>2018-10-24T22:51:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-24T22:51:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=94ef638d61476bda162c16462238687733a77d78'/>
<id>urn:sha1:94ef638d61476bda162c16462238687733a77d78</id>
<content type='text'>
_check_undef_syms() is the only caller.
</content>
</entry>
</feed>
