Skip to content

Remove Py2.4 compatibility code? #95

Closed
xiaq opened this Issue Feb 12, 2012 · 4 comments

2 participants

@xiaq
xiaq commented Feb 12, 2012

Python 2.4 is not supported anyway.

@malthe
Owner
malthe commented Feb 12, 2012

What parts of the code is this? I only see 2.5-related compatibility code in there.

@xiaq
xiaq commented Feb 12, 2012

ast24.py and related code. Grepping for ast24:

~/src/chameleon/src/chameleon% grep ast24 -R .
./utils.py: from chameleon import ast24 as _ast
./zpt/template.py: from chameleon import ast24 as ast
./zpt/program.py: from chameleon import ast24 as ast
./codegen.py: from chameleon import ast24 as ast
./astutil.py: from chameleon import ast24 as ast

@malthe
Owner
malthe commented Feb 12, 2012

That's actually still there to make sure the Python 2.5 ast module works like its successors. On 2.4 it wasn't there at all, but 2.5 only implements some parts of it.

@xiaq
xiaq commented Feb 12, 2012

Better named ast25 then :) I suppose I won't be the last one to be confused.

@malthe malthe added a commit that referenced this issue Oct 11, 2012
@malthe Rename module. This fixes issue #95. 5c14305
@malthe malthe closed this Oct 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.