[Python-3000] Line continuation using ellipsis

Steven Bethard steven.bethard at gmail.com
Wed Apr 11 20:00:34 CEST 2007


On 4/11/07, Georg Brandl <g.brandl at gmx.net> wrote:
> Talin schrieb:
> > I'm not sure that I am the first to bring this up, but I might as well
> > get it written down.
> >
> > I've never liked using the backslash operator for line continuation, for
> > two reasons:
> >
> > 1) It requires that it be the last character of a line, meaning that you
> > have to insure that there's no trailing whitespace, which can be
> > difficult with some editors.
>
> Then use parentheses. That should be possible almost everywhere.

Yes, please. There's currently no need for the backslash in pretty
much anything but triple-quoted strings. Since they're not needed now,
I see no reason to introduce a replacement for them. If you're going
to propose something, propose removing them.

Steve
-- 
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
        --- Bucky Katt, Get Fuzzy


More information about the Python-3000 mailing list