<div class="gmail_quote">On Tue, Dec 14, 2010 at 5:39 AM, Mark Dickinson <span dir="ltr"><<a href="mailto:dickinsm@gmail.com">dickinsm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Mon, Dec 13, 2010 at 3:51 PM, R. David Murray <<a href="mailto:rdmurray@bitdance.com">rdmurray@bitdance.com</a>> wrote:<br>
> It seems like the status quo is fine. I wouldn't object to it being<br>
> made more consistent. I would object to removing the existing cases.<br>
<br>
</div>Same here, on all three counts. In one of the projects I'm currently<br>
working on, we've settled on a style that does quite a lot of:<br>
<br>
my_thing = Thing(<br>
foo = Foo(arg1, arg2, ...),<br>
bar = Bar(arg3, arg4, ...),<br>
...<br>
)<br>
<br>
and I've found the trailing comma very convenient during refactoring<br>
and API experimentation. (There's still good fun to be had arguing<br>
about the indentation of that closing parenthesis, though.)<br></blockquote></div><br>Another valid use case that occurred to me is building up a string-keyed dictionary:<br><br>mapping = dict(<br>
x=1,<br>
y=2,<br>
z=3,<br>
)<br clear="all"><br>So, on reflection, removing the existing cases where it is supported is certainly unreasonable, which makes the consistency argument that much stronger.<br><br clear="all">For the record, I reopened issue #9232 (noting the lack of consensus), and (as someone suggested on the tracker) changed the resolution on the other one to be as a duplicate of #9232.<br>
<br>Cheers,<br>Nick.<br><br>P.S. As I noted in the logging discussion, my email access is going to be a bit sketchy for the next couple of weeks.<br><br>-- <br>Nick Coghlan | <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a> | Brisbane, Australia<br>