[Python-ideas] Implicit string literal concatenation considered harmful?
Bruce Leban
bruce at leapyear.org
Thu May 16 20:14:54 CEST 2013
On Thu, May 16, 2013 at 10:38 AM, MRAB <python at mrabarnett.plus.com> wrote:
> Why do you say """there must be at least one whitespace character
> between the \ and the comment"""?
>
Two reasons:
(1) make the backslash more likely to stand out visually (and we can't
require a space before it)
(2) \# looks like it might be an escape sequence of some sort while I don't
think \ # does, making this friendlier to readers.
I'm not passionate about that detail if the rest of the proposal flies.
--- Bruce
Latest blog post: Alice's Puzzle Page http://www.vroospeak.com
Learn how hackers think: http://j.mp/gruyere-security
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130516/c28f7002/attachment-0001.html>
More information about the Python-ideas
mailing list