<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">You don't need list comprehension, you can use a for loop.<br><br></span>You don't need upacking you can use indexing.<br><div class="gmail-HOEnZb"><div class="gmail-h5"><br>And you don't need lazy, it's just convenient.</div></div></blockquote></div></div></div><div><br></div><div>With this sole argument you can add almost anything to the language as long as it has at least one use case where it's better than existing tools. I'm not against the lazy proposal in general, but attempting to justify a new keyword to replace this is just silly to me:</div><div><br></div><div>class Config(dict):</div><div>    def lazy_get(self, key, callable=None):</div><div>        if key in self:<br></div><div>            return self[key]</div><div>        return callable(key)</div></div>