<div dir="ltr"><div>I think the idea of using commas for grouping in an except expression is a bad idea. </div><div><br></div><div>To be clear when I say grouping what I mean is that as defined in the proposal when the comma is omitted between two except clauses, they form two separate except blocks and including the comma groups them into one. Compare:</div>
<div><br></div><div><font face="courier new, monospace"> A <except-clause1>, <except-clause2> <except-clause3></font></div><div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"> A <except-clause1> <except-clause2>, <except-clause3></font></div>
</div><div><br></div><div>Here's color-coding to show the expressions we would have.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div><font face="courier new, monospace"> <span style="background-color:rgb(207,226,243)">A <except-clause1></span><span style="background-color:rgb(234,153,153)">,</span><span style="background-color:rgb(207,226,243)"> <except-clause2></span><span style="background-color:rgb(217,234,211)"> <except-clause3></span></font></div>
<div><div><font face="courier new, monospace" style="background-color:rgb(217,234,211)"><br></font></div><div><font face="courier new, monospace" style="background-color:rgb(255,255,255)"> </font><font face="courier new, monospace" style="background-color:rgb(207,226,243)">A <except-clause1></font><font face="courier new, monospace" style="background-color:rgb(217,234,211)"> <except-clause2></font><span style="font-family:'courier new',monospace;background-color:rgb(234,153,153)">,</span><font face="courier new, monospace" style="background-color:rgb(217,234,211)"> <except-clause3></font></div>
</div><div><br></div><div><div><font face="arial, helvetica, sans-serif">This is nothing like how commas are used anywhere else in the language. </font><span style="font-family:arial,helvetica,sans-serif">I think it much better to use parenthesis for grouping:</span></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><div><font face="courier new, monospace"> <span style="background-color:rgb(207,226,243)">(A <except-clause1></span><span style="background-color:rgb(207,226,243)"> <except-clause2>)</span><span style="background-color:rgb(217,234,211)"> <except-clause3></span></font></div>
<div><div><font face="courier new, monospace" style="background-color:rgb(217,234,211)"><br></font></div><div><font face="courier new, monospace"> </font><font face="courier new, monospace" style="background-color:rgb(207,226,243)">(A <except-clause1>)</font><font face="courier new, monospace" style="background-color:rgb(217,234,211)"> <except-clause2></font><font face="courier new, monospace" style="background-color:rgb(217,234,211)"> <except-clause3></font></div>
</div></div><div><font face="courier new, monospace" style="background-color:rgb(217,234,211)"><br></font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">--- Bruce<br></font><div><div><font face="arial, helvetica, sans-serif">Learn how hackers think: <a href="http://j.mp/gruyere-security" target="_blank">http://j.mp/gruyere-security</a></font></div>
</div></div></div>
<br><br><div class="gmail_quote"><br></div></div></div>