Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8779

Re: Anyone want to critique this program?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!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.027
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'instance,': 0.05; 'run- time': 0.05; 'subject:Anyone': 0.07; 'am,': 0.13; 'wrote:': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; '(which': 0.20; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'tue,': 0.23; '(or': 0.25; 'translation': 0.25; 'saying': 0.26; 'string': 0.26; "i'm": 0.27; 'right,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'explicitly': 0.29; 'wraps': 0.30; 'looks': 0.30; 'least': 0.31; 'subject:?': 0.31; 'lines': 0.31; 'break': 0.33; 'it.': 0.33; 'to:addr:python- list': 0.34; 'there': 0.34; '(not': 0.35; 'convenient': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'except': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'believe': 0.66; 'subject:program': 0.67; 'works,': 0.68; 'want,': 0.71; 'subject:this': 0.74; 'ugly,': 0.84; 'subject:want': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=UoNtPgd6Itnaw0uDZPakb+C/ipbhkT9hQ4ziO6EAz5w=; b=OrKE55Cb7RbOI+Iaeyn+hKWF3kr70YgVxZpzPvk7wSywrYiEBAwmZ0JAM65/Lmg0Vb 8m5x85zn2qgHvDjvDDp+34vN49cqG4ZBka1TNi/H3wDFOprVNfc4sydtJTK9htcoS0al b5R/QFCZY1XZZAqoHH3mSJyHuuJ62PIWvaxfc=
MIME-Version 1.0
In-Reply-To <Xns9F18623A1FBF4OKB@88.198.244.100>
References <4be432d4-5185-4101-9699-de5524c3fa57@x3g2000yqj.googlegroups.com> <mailman.579.1309662170.1164.python-list@python.org> <5c3aba69-fddd-45ed-bf0c-8fa98df7aa73@r2g2000vbj.googlegroups.com> <Xns9F1771465C83AOKB@88.198.244.100> <75474208-0a8f-4ac1-8e26-18d8fe6b9efc@u26g2000vby.googlegroups.com> <Xns9F18623A1FBF4OKB@88.198.244.100>
Date Tue, 5 Jul 2011 03:21:08 +1000
Subject Re: Anyone want to critique this program?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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 <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.599.1309800071.1164.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1309800071 news.xs4all.nl 21868 [2001:888:2000:d::a6]:34495
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8779

Show key headers only | View raw


On Tue, Jul 5, 2011 at 2:37 AM, OKB (not okblacke)
<brenNOSPAMbarn@nobrenspambarn.net> wrote:
>        Well, what I'm saying is I use an editor that lets me make the
> lines as long as I want, and it still wraps them right, so I never
> explicitly hit enter to break a line except at the end of a string (or
> paragraph).

In this instance, I believe the OP was paragraphing his text. Is there
a convenient way to do that in a triple-quoted string?

My personal inclination would be to simply back-tab it. It looks ugly,
but at least it works, and doesn't require a run-time re-parse. The
run-time translation is good for docstrings, though (which are
syntactically the same thing as this situation).

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Anyone want to critique this program? John Salerno <johnjsal@gmail.com> - 2011-07-02 19:19 -0700
  Re: Anyone want to critique this program? Chris Angelico <rosuav@gmail.com> - 2011-07-03 13:02 +1000
    Re: Anyone want to critique this program? John Salerno <johnjsal@gmail.com> - 2011-07-02 20:41 -0700
      Re: Anyone want to critique this program? Chris Angelico <rosuav@gmail.com> - 2011-07-03 14:00 +1000
      Re: Anyone want to critique this program? "OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net> - 2011-07-03 18:06 +0000
        Re: Anyone want to critique this program? John Salerno <johnjsal@gmail.com> - 2011-07-03 20:25 -0700
          Re: Anyone want to critique this program? "OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net> - 2011-07-04 16:37 +0000
            Re: Anyone want to critique this program? Chris Angelico <rosuav@gmail.com> - 2011-07-05 03:21 +1000
              Re: Anyone want to critique this program? Ben Finney <ben+python@benfinney.id.au> - 2011-07-05 10:03 +1000
                Re: Anyone want to critique this program? Chris Angelico <rosuav@gmail.com> - 2011-07-05 10:11 +1000
      Re: Anyone want to critique this program? Ben Finney <ben+python@benfinney.id.au> - 2011-07-04 07:37 +1000

csiph-web