<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 15, 2016 at 7:44 AM, Peter Kjellerstedt <span dir="ltr">&lt;<a href="mailto:peter.kjellerstedt@axis.com" target="_blank">peter.kjellerstedt@axis.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2a6" class="a3s aXjCH m1568ea9f9d3743de">How will this interact with ?=, ??=, _append and _remove?<br>
<br>
Shouldn&#39;t there be unit tests for this? It seems like it can easily<br>
break and/or be broken by other changes.</div></blockquote></div><br>It&#39;s implemented as an immediate operation, so it&#39;d happen long before ??=, _append, or _remove are applied. ?= is also immediate, so isn&#39;t relevant -- ?= before it would do nothing, as the unset would undo it, and ?= after the unset would apply fine.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I think that&#39;s the most sane approach for something like this. If you want the operation postponed, you can use anonymous python for that. Agreed re: unit tests, though.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>