John Ladasky said: Why not do genetic programming directly on Python code?
maybe Dione is what you are looking for - it seems to manipulate Python asts directly http://sourceforge.net/projects/dione/ -- http://mail.python.org/mailman/listinfo/python-list