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


Groups > comp.lang.python > #16319

python 2.5 and ast

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <andrea.crotti.0@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'happily': 0.07; 'python': 0.08; 'scripts': 0.09; 'subject:python': 0.10; 'ast': 0.16; 'yet.': 0.18; 'received:209.85.212.46': 0.23; 'received:mail- vw0-f46.google.com': 0.23; 'way?': 0.23; 'code': 0.25; 'module': 0.26; "i'm": 0.26; 'code,': 0.27; 'source': 0.31; 'message- id:@gmail.com': 0.33; 'header:User-Agent:1': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'received:209.85.212': 0.34; 'but': 0.37; 'run': 0.37; 'received:google.com': 0.37; 'using': 0.38; 'received:10.0.0': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'received:209': 0.40; 'to:addr:python.org': 0.40; 'moment)': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=NUlfK7+5pZqEf3q4hb06hkQtkyHiamsl1URPkhUWcH0=; b=DFMa7O4H/BmFVfNB9N8L2NDNPLVruyVUuylpQKx159OfgroLkHmUkzYfjAJgWmGMGE q2VQBAfJtG+8zIcUcW8lOecH/ci7Kmad/PsCWGvOTHePuTljEDP01lbN0nY2YgGozoq4 MN1HZUH7lRgL85SRX22AZMZpSLTDvalcZlq7c=
Date Mon, 28 Nov 2011 11:45:57 +0000
From Andrea Crotti <andrea.crotti.0@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111108 Thunderbird/8.0
MIME-Version 1.0
To python-list@python.org
Subject python 2.5 and ast
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
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.3088.1322480760.27778.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1322480760 news.xs4all.nl 6951 [2001:888:2000:d::a6]:48862
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16319

Show key headers only | View raw


I'm happily using the ast module to analyze some code,
but my scripts need also to run unfortunately on python 2.5

The _ast was there already, but the ast helpers not yet.
Is it ok if I just copy over the source from the ast helpers in my code base
or is there a smarter way?
(I don't even need all of them, just "parse" and NodeVisitor at the moment)

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


Thread

python 2.5 and ast Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-11-28 11:45 +0000
  Re: python 2.5 and ast 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-02 10:28 -0800
    Re: python 2.5 and ast Ian Kelly <ian.g.kelly@gmail.com> - 2011-12-02 11:43 -0700
  Re: python 2.5 and ast 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-02 10:28 -0800

csiph-web