<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Michael Trausch <fd0man@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Yingjie Lan <lanyjie@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> Chris Angelico <rosuav@gmail.com>; "python-list@python.org" <python-list@python.org><br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, August 11, 2011 12:51 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: allow line break at operators<br></font><br><div id="yiv516807947"><div>> Perhaps it could be made an optional thing to enable; for example, some languages by
 default do dynamic typing, but with an option contained as the first statement of the file can enforce static typing.</div><div><br></div><div>That is a brilliant idea! Python code can specify encoding in the beginning, we might use another similar line to opt in for that kind of language features.</div><div><br></div><div>Once in that ';'-required mode, the trouble of typing a ';' at end of almost every line can be easily avoided by a smart editor: <br></div><div><br></div><div>1) when a single 'Return' key is hit, and the line is not ending in ':' or ';' (white spaces and comments discarded), automatically append a ';' to the end of the line.</div><div>2) to continue the line to the next line, hit "Shift+Enter", then no ';' will be appended to the line.</div><div><br></div><div>Cheers,</div><div><br></div><div>Yingjie<br></div></div></div></div></div></body></html>