Python Risk

Bjorn Pettersen BPettersen at NAREX.com
Thu May 10 17:06:18 EDT 2001


> From: m.hadfield at niwa.cri.nz [mailto:m.hadfield at niwa.cri.nz]
> 
> From: "Andrew Kuchling" <akuchlin at mems-exchange.org>
> >
> > * Strings may now be enclosed in double quotes as well as in single
> > quotes.  There is no difference in interpretation.
> >
> > I mean, really, who ordered *that*?
> 
> I don't know, but it makes it easy to put either double 
> quotes or single
> quotes inside a string, thus:
> 
> " ' "   ' " '

So you would want to add _all_ that syntax just to save a single '\'
character in typing <wink>. I mean how often do you have quotes in your
strings...

wasn't-me-Guido-did-it'ly y'rs
-- bjorn




More information about the Python-list mailing list