Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'string.': 0.04; 'true,': 0.04; 'instance.': 0.09; 'parsed': 0.09; 'string)': 0.09; 'terry': 0.09; '(string': 0.16; '24,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'literal,': 0.16; 'literal.': 0.16; 'reedy': 0.16; 'url:py3k': 0.16; 'string': 0.17; 'wrote:': 0.17; 'instance,': 0.17; 'integer': 0.17; '>>>': 0.18; 'received:209.85.214.174': 0.21; "i'd": 0.22; 'header:In-Reply- To:1': 0.25; 'leave': 0.26; 'am,': 0.27; 'raw': 0.27; 'message- id:@mail.gmail.com': 0.27; 'chris': 0.28; 'fri,': 0.30; 'url:python': 0.32; 'asked': 0.33; 'docs': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'sometimes': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'explain': 0.36; 'but': 0.36; 'url:org': 0.36; 'should': 0.36; 'does': 0.37; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'between': 0.63; '20,': 0.65; 'jul': 0.65; 'url:tutorial': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Js1600bXWbXqJEfqSQS9Etx8sUpCiJ0fWWbOkqotm18=; b=QwCwc8FLXuIIEl1ksvxOhVKVa7I4kaP35N2ZMS4z0pFZFeVkcran/BqmbqoqUr4OLM C6nk2RSooiFysL0Or6DtNBBu0Zm9xiMWP1ei54P1jDR9kOemZc4ylVVHCRwo5J3jTtjs va/OVfh4ov5WJWlXe+UCLN64q/oF3bDthSupthrXU/YkKOVpO7uo9YBpzqofRbijXeeF XMxTX+o3zHpO+qClXMI2DPdaALt+NxAPUFK6xaYqosQLk0zFIiDPog3H5azvq+NcFiql Sj+l+KbRjcfIIsQOA8I3rtDCBYtlZL4R40hF6CCLCjGO6LMywLCQ6MIasM461Bj+Vu7l Hgww== MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 24 Jul 2012 07:49:35 +1000 Subject: =?windows-1252?B?UmU6IHRoZSBtZWFuaW5nIG9mIHKSLi4uLi4uLpE=?= From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1343080183 news.xs4all.nl 6880 [2001:888:2000:d::a6]:35140 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25931 On Tue, Jul 24, 2012 at 7:07 AM, Terry Reedy wrote: > On 7/23/2012 3:59 AM, Chris Angelico wrote: >> >> On Fri, Jul 20, 2012 at 5:56 PM, levi nie wrote: >>> >>> the meaning of r=E2=80=99.......=E2=80=98=EF=BC=9F >> >> >> It's a raw string. >> >> http://docs.python.org/py3k/tutorial/introduction.html#strings > > Strictly speaking, it is a raw string literal, which should be parsed as = raw > (string literal) and NOT as (raw string) literal. I know that the docs > sometimes leave off 'literal', but that sometimes confuses people that th= ere > is such a thing as a raw string instance. True, but then, the same elision is also seen in, for instance, 12345 being an "integer" not a "decimal integer literal". There's no difference between 0x3039 and 12345, but if someone asked what the 0x meant, I'd explain it as "hex literal". Though you're right, it does cause some problems. ChrisA