allow line break at operators

Michael Trausch fd0man at gmail.com
Thu Aug 11 00:51:52 EDT 2011


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.
On Aug 10, 2011 10:57 PM, "Yingjie Lan" <lanyjie at yahoo.com> wrote:
> :And if we require {} then truly free indentation should be OK too! But
>
> :it wouldn't be Python any more.
>
> Of course, but not the case with ';'. Currently ';' is optional in Python,
> But '{' is used for dicts. Clearly, ';' and '{' are different in
magnitude.
>
> So the decision is: shall we change ';' from optional to mandatory
> to allow free line splitting?
>
> Yingjie
>
> --
> http://mail.python.org/mailman/listinfo/python-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110811/84326483/attachment-0001.html>


More information about the Python-list mailing list