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


Groups > comp.lang.python > #11629

Re: Idea for pure-python templates using AST.

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:using': 0.04; 'subject:python': 0.11; 'am,': 0.12; 'docstring': 0.16; 'docstrings': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; 'wed,': 0.17; 'header:In-Reply- To:1': 0.22; 'though.': 0.23; 'aug': 0.24; 'paul': 0.28; 'message- id:@mail.gmail.com': 0.29; 'thanks': 0.30; "what's": 0.33; 'to:addr:python-list': 0.33; '17,': 0.34; 'element': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'forbid': 0.84; 'subject:Idea': 0.84
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; bh=jJffWBixQOwa4nqpari24shUjZK4OfYuPXLlgsIiuIs=; b=qUqaQl17bLu2DKvuJR1OitdGVW0e6l/7w1iCl6YBSWDWuhgd+4QU47++qLoBOghOF9 T6RW6VWD5AiM0PIxfysXhMnBrjPrwgGIhPgLHX8ml6565qlkyP88BRZfnj5dRqYjEzWt LSS8Bnn/S6wYwTwm9o7IIB2hio3Jxi+AdmDA8=
MIME-Version 1.0
In-Reply-To <7fb0c5e0-8b66-4de1-adbc-db601781bd24@v7g2000vbk.googlegroups.com>
References <2As2q.636$7r4.389@viwinnwfe02.internal.bigpond.com> <mailman.79.1313511267.27778.python-list@python.org> <7fb0c5e0-8b66-4de1-adbc-db601781bd24@v7g2000vbk.googlegroups.com>
Date Wed, 17 Aug 2011 01:03:34 +0100
Subject Re: Idea for pure-python templates using AST.
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.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.104.1313539416.27778.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1313539416 news.xs4all.nl 23867 [2001:888:2000:d::a6]:54765
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:11629

Show key headers only | View raw


On Wed, Aug 17, 2011 at 12:57 AM, Paul Wray <paulwray111111@gmail.com> wrote:
> Thanks yes ama aware of docstrings but did not consider.
> They are easy to strip out though.
>

Maybe. You'd have to take notice of what's a docstring and what's the
first element to be outputted. Or alternatively, just forbid
docstrings on those functions.

ChrisA

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


Thread

Idea for pure-python templates using AST. "Paul Wray" <paul.wray@det.nsw.edu.au> - 2011-08-16 21:33 +1000
  Re: Idea for pure-python templates using AST. aspineux <aspineux@gmail.com> - 2011-08-16 05:32 -0700
    Re: Idea for pure-python templates using AST. anand jeyahar <anand.ibmgsi@gmail.com> - 2011-08-16 21:46 +0530
    Re: Idea for pure-python templates using AST. Paul Wray <paulwray111111@gmail.com> - 2011-08-16 18:10 -0700
  Re: Idea for pure-python templates using AST. Terry Reedy <tjreedy@udel.edu> - 2011-08-16 11:47 -0400
  Re: Idea for pure-python templates using AST. Chris Angelico <rosuav@gmail.com> - 2011-08-16 17:14 +0100
    Re: Idea for pure-python templates using AST. Paul Wray <paulwray111111@gmail.com> - 2011-08-16 16:57 -0700
      Re: Idea for pure-python templates using AST. Chris Angelico <rosuav@gmail.com> - 2011-08-17 01:03 +0100
  Re: Idea for pure-python templates using AST. Irmen de Jong <irmen@-NOSPAM-xs4all.nl> - 2011-08-16 21:23 +0200
    Re: Idea for pure-python templates using AST. Paul Wray <paulwray111111@gmail.com> - 2011-08-16 18:02 -0700
  Re: Idea for pure-python templates using AST. Tim Roberts <timr@probo.com> - 2011-08-16 17:39 -0700

csiph-web