[Python-ideas] Allowing comments after line continuations
Jim Jewett
jimjjewett at gmail.com
Fri May 17 00:17:55 CEST 2013
On Thu, May 16, 2013 at 5:55 PM, Terry Jan Reedy <tjreedy at udel.edu> wrote:
> On 5/16/2013 2:41 PM, Bruce Leban wrote:
>> (1) make the backslash more likely to stand out visually (and we can't
>> require a space before it)
> I think it stands out better by itself at the end.
Except that it makes invisible whitespace have a magical effect.
Which -- at least for me -- is the primary reason *why* \-continuation is bad.
Allowing whitespace (including comments) after the line-continuation
would remove that gotcha.
-jJ
More information about the Python-ideas
mailing list