[Zope] Python nasty :S

Chris Withers chrisw@nipltd.com
Wed, 02 Aug 2000 00:24:56 +0100


We have a reply... oh well :S

chris

Tim Peters wrote:
> 
> Sorry, but this is a documented feature:  just as in C, adjacent string
> literals are concatenated at compile-time.  You bumped up against the Dark
> Side of that.  The Bright Side is, e.g.,
> 
>     logfile.write("And here I need to write something "
>                   "to a log file that spills over a line "
>                   "of source code but I want it want to "
>                   "appear in the log as one line."
>                   "\n")
> 
> It can't be made an error, as lots of code relies on it now.