allow line break at operators

Seebs usenet-nospam at
Fri Aug 12 20:37:41 CEST 2011

On 2011-08-12, Chris Rebert <clp2 at> wrote:
> One argument I've heard from braces fans is that sometimes they want
> their own structure, which does not match the actual block structure.


> Example:
> FILE* f = fopen(...);
>     // do stuff with f
>     // at this indent level
> fclose(f);
> // back to normal
> But really this is just working around other limitations in the
> language (i.e. lack of a with-statement equivalent).

That's horrid.

FWIW, the C idiom is:

		FILE *f = ...

It isn't used all that widely, but it is a lot less horrible than
random indenting would be.

Copyright 2011, all wrongs reversed.  Peter Seebach / usenet-nospam at <-- lawsuits, religion, and funny pictures <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.

More information about the Python-list mailing list