[Python-Dev] Re: PEP 295 - Interpretation of multiline string constants

Michael Chermside mcherm@destiny.com
Mon, 29 Jul 2002 12:42:08 -0400


> So...  What you (and others) think about just adding flag 'i' to string
> constants (that will strip indentation etc.)?  This doesn't affect
> existing code, but it will be useful (at least for me ;-)  Motivation
> was posted here by Michael Chermside, but I don't like his solutions.

Please understand that the motivation I posted was an attempt to 
describe YOUR possible motivation for desiring the change. I wouldn't 
like this feature, myself. I was just trying to point out that it could 
all be achieved with somewhere between 1 character and 5 lines worth of 
code.

The solution to this (so-called) "problem" simply does not belong in the 
language itself, despite the fact that you don't like my solutions.

However, if you have a particular reason why you don't like these 
solutions, send me an email (don't CC the list), and I'll see if I can 
come up with a different solution you DO like.

-- Michael Chermside