Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53530
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.041 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.01; 'string': 0.09; 'escape': 0.09; 'subject:How': 0.10; "'\\\\'": 0.16; 'backslash': 0.16; 'buggy': 0.16; 'character.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:mirror': 0.16; 'wrote:': 0.18; 'string,': 0.24; 'am,': 0.29; 'character': 0.29; '(like': 0.30; 'message-id:@mail.gmail.com': 0.30; 'consequence': 0.31; 'sep': 0.31; 'raw': 0.33; 'subject: (': 0.35; 'subject:with': 0.35; 'late': 0.35; 'received:google.com': 0.35; 'too': 0.37; 'to:addr:python-list': 0.38; 'quote': 0.39; 'to:addr:python.org': 0.39; 'ethan': 0.84; 'furman': 0.84; 'inevitable': 0.84; "it'd": 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/E0QgyQ70lpiVCvCWwU+7nzAHuYLmQPd9XXWY7edJ+Q=; b=dKyafBEyyu7tcDm1RZL5+f6BzCArJqic9vmEA2HWS05khHtGotgz520Rv0g/nbYqa6 2/HDwCi/slZDaDT9xS0NfwBH3puAmy/kQ7MRtAhVzhf6ruKcl7pDe6i2JDfJZv+yJulY sKTL7L806nP2bOXNlIVT3ZX/WLkkuRBpXYficMEbRzSqEcP0FQwJuu870Ltm+7B8SmXF bTye4VxDDpN95BtsVPNDEnCvj6BqQim0GVMoVbSeJzq7o3vJfNsyQIoxGGEMov64hrD6 UMbJ1qjvYPTqqPR0KyiNBifPE869i750IKtV1xiNHDIbsPe6EWhJ/sIgcBUvXGfVk1r4 R+Sg== |
| MIME-Version | 1.0 |
| X-Received | by 10.221.47.193 with SMTP id ut1mr24860310vcb.8.1378157452356; Mon, 02 Sep 2013 14:30:52 -0700 (PDT) |
| Date | Tue, 3 Sep 2013 07:30:52 +1000 |
| Subject | Re: How to split with "\" character, and licence copyleft mirror of (c) |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.517.1378157454.19984.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1378157454 news.xs4all.nl 15927 [2001:888:2000:d::a6]:55488 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:53530 |
Show key headers only | View raw
On Tue, Sep 3, 2013 at 6:22 AM, Ethan Furman <ethan@stoneleaf.us> wrote: > In a raw string, the backslash is buggy (IMNSHO) when it's the last > character. It's an inevitable consequence of using the backslash to escape the quote character. If instead, a raw string doubled the quote character (like in REXX), it'd need no other escape: r'\' --> '\\' r'''' --> "'" Too late to change now. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How to split with "\" character, and licence copyleft mirror of (c) Chris Angelico <rosuav@gmail.com> - 2013-09-03 07:30 +1000
csiph-web