Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15476 > unrolled thread

Re: Line continuation issue\

Started byWestley Martínez <anikom15@gmail.com>
First post2011-11-08 11:11 -0800
Last post2011-11-08 11:11 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Line continuation issue\ Westley Martínez <anikom15@gmail.com> - 2011-11-08 11:11 -0800

#15476 — Re: Line continuation issue\

FromWestley Martínez <anikom15@gmail.com>
Date2011-11-08 11:11 -0800
SubjectRe: Line continuation issue\
Message-ID<mailman.2550.1320779525.27778.python-list@python.org>
On Fri, Nov 04, 2011 at 11:10:58AM -0400, Steven Lehar wrote:
> Is this the right place to propose language extensions?
> 
> My Python code keeps expanding rightwards, it is difficult to keep it
> contained within reasonable limits. But the standard line continuation \
> is positively anti-Pythonic because an *invisible* white space between \
> and [CR] will render it useless.
> 
> How about a new Python symbol, maybe \\ that CAN have following whitespace
> which is ignored, so that seeing a \\ in the code forces it to continue on
> the next line.
> 
> Has this issue been discussed already?
> 
>   slehar

Use subroutines.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web