Is this a bug?

Bernhard Herzog bh at intevation.de
Mon May 14 05:15:59 EDT 2001


"Emile van Sebille" <emile at fenx.com> writes:

> "Rainer Deyke" <root at rainerdeyke.com> wrote in message
> news:_4iL6.68789$2U.30593449 at news2.rdc2.tx.home.com...
> > "Costas Menico" <costas at meezon.com> wrote in message
> > news:3afda52c.5731036 at News.CIS.DFN.DE...
> > > Actually my dream r-architecture is quite simple. Take anything that
> > > starts and ends with two quotes to be the literal sring.
> > >
> > > x=''abcdef'''  -> abcdef'
> > > x=''abc'xyz''  -> abc'xyz
> > > x=''abc\'xyz'' -> abc\'xyz
> > >
> > > We already have one quote and three quotes. May as well use two
> > > quotes. Actually the r should also allow selection of the delimiters.
> >
> > This interferes with the very common empty string ('').  Six quotes are
> > unused, however.
> >
> 
> I dunno... how about double back tics?  ;-)

Won't work. ``1`+`2``, for instance is already a valid python
expression. :)

  Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                               http://mapit.de/



More information about the Python-list mailing list