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


Groups > comp.lang.python > #16319

python 2.5 and ast

Date 2011-11-28 11:45 +0000
From Andrea Crotti <andrea.crotti.0@gmail.com>
Subject python 2.5 and ast
Newsgroups comp.lang.python
Message-ID <mailman.3088.1322480760.27778.python-list@python.org> (permalink)

Show all headers | 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