On 11/24/12 8:11 AM, Ivan Andrus wrote:
I have no idea how much work it would be though, and there's always the
slight chance you might break something that way.

Here's an example of code that changes behavior when there is trailing whitespace:

print 1 + \
2

If there is a space after the \, it's a syntax error. If there is no space, it prints 3.

I'm not interpreting how this is good or bad, but just pointing out that deleting whitespace can change code behavior, particularly in the case of continuation characters. This is consistent with http://docs.python.org/2/reference/lexical_analysis.html#explicit-line-joining

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to