Line continuation issue\
Terry Reedy
tjreedy at udel.edu
Fri Nov 4 16:06:05 EDT 2011
On 11/4/2011 11:10 AM, Steven Lehar wrote:
> Is this the right place to propose language extensions?
Yes, especially for beginners not familiar with previous discussions.
>
> 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?
Yes ;=)
Peter already gave the standard answers.
--
Terry Jan Reedy
More information about the Python-list
mailing list