Re: [Python-Dev] Meta coding in Python

2011-09-15 Thread Nick Coghlan
On Fri, Sep 16, 2011 at 8:44 AM, Albert Zeyer wrote: > Hi list, > > I thought it would be nice in Python to allow some sort of meta coding > (which goes far ahead of simple function descriptors). > > The most straight forward way would be to allow operations on the AST. 1. This kind of suggestion

Re: [Python-Dev] Meta coding in Python

2011-09-15 Thread Benjamin Peterson
2011/9/15 Albert Zeyer : > Hi list, > > I thought it would be nice in Python to allow some sort of meta coding > (which goes far ahead of simple function descriptors). > > The most straight forward way would be to allow operations on the AST. > > I wrote a small patch for CPython 2.7.1 which, for e