python 2.5 and ast
Terry Reedy
tjreedy at udel.edu
Mon Nov 28 15:08:23 EST 2011
On 11/28/2011 6:45 AM, Andrea Crotti wrote:
> 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
That is the standard way of backporting features of later versions.
--
Terry Jan Reedy
More information about the Python-list
mailing list