<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 19, 2017 at 6:08 PM, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Regarding that spec, I think there's something missing: given a list (or tuple!) of values, how do you turn it into an 'ntuple'? That seems a common use case, e.g. when taking database results like row_factory in sqlite3.</div></div></blockquote><div><br></div><div>One obvious choice is to allow for construction from a dict with **kwargs unpacking. This actually works now that keyword arguments are ordered.</div><div><br></div><div>This would mean either <font face="monospace, monospace">ntuple(**kwargs)</font> or the possibly too cute <font face="monospace, monospace">(**kwargs)</font>. </div></div></div></div>