On Wed, 2004-03-31 at 16:12, Phillip J. Eby wrote: > At 12:49 PM 3/31/04 -0800, Guido van Rossum wrote: > >I hadn't thought of those, but the new situation can't be worse than > >before (decorations following the 'def'). Usually these tools either > >use some ad-hoc regex-based parsing, which shouldn't have any problems > >picking out at least the typical forms, or they (hopefully) use the > >AST produced by the compiler package -- it should be possible for that > >package to modify the parse tree so that decorators appear as part of > >the Function node. > > Good point. Will this be true for the AST branch's AST model as well? If decorators get added, that's my plan. Jeremy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4