allow line break at operators

Chris Rebert clp2 at rebertia.com
Thu Aug 11 01:07:42 EDT 2011


> 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?

On Wed, Aug 10, 2011 at 9:51 PM, Michael Trausch <fd0man at gmail.com> wrote:
> 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.

I am intrigued. What languages(s) have the feature you refer to?

Cheers,
Chris



More information about the Python-list mailing list