[Python-Dev] C AST to Python discussion

Simon Burton simon at arrowtheory.com
Wed Feb 15 23:07:34 CET 2006


On Wed, 15 Feb 2006 00:34:35 -0800
Brett Cannon <brett at python.org> wrote:

> As per Neal's prodding email, here is a thread to discuss where we
> want to go with the C AST to Python stuff and what I think are the
> core issues at the moment.
> 
> First issue is the ast-objects branch.  Work is being done on it, but
> it still leaks some references (Neal or Martin can correct me if I am
> wrong).  

I've been doing the heavy lifting on ast-objects the last few weeks.
Today it finally passed the python test suite. The last thing to do is
the addition of XDECREF's, so yes, it is leaking a lot of references.

I won't make it to PyCon (it's a long way for me to come), but gee I've left
all the fun stuff for you to do !
:)

Even if AST transforms are not allowed, I see it as the strongest form of
code reflection, and long over-due in python.

Simon.


-- 
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com 


More information about the Python-Dev mailing list