<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 29, 2015 at 5:24 PM, Alexander Belopolsky <span dir="ltr"><<a href="mailto:alexander.belopolsky@gmail.com" target="_blank">alexander.belopolsky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 7:57 PM, Andrew Barnert via Python-ideas <span dir="ltr"><<a href="mailto:python-ideas@python.org" target="_blank">python-ideas@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">If this is going to be a keyword rather than a symbol, it really has to read like English, or at least like abbreviated English,</blockquote></div><br></span>I am -1 on this whole idea, but the keyword that comes to mind is "def":</div><div class="gmail_extra"><br></div><div class="gmail_extra">x def []</div><div class="gmail_extra"><br></div><div class="gmail_extra">may be read as x DEFaulting to [].</div></div></blockquote><div><br></div><div>'def' is currently short for 'define', which would be too confusing. Spelling out 'default' isn't so bad, though:</div><div><br></div><div>    self.x = x default []</div><div><br></div><div>And if it's going to be that long anyway, we might as well just put a `default` function in the builtins:<br></div><div><br></div><div>    self.x = default(x, [])</div><div><br></div><div><div>I actually really like 'otherwise', but it's certainly not brief:</div><div>    </div><div>    self.x = x if x is not None else []</div><div>    self.x = x otherwise []</div></div><div><br></div><div>That said, it's not used *that* often either, so maybe it's acceptable.</div><div><br></div><div>- Jeff</div></div></div></div>