RE: ast branch status
"logistix" <[email protected]> Thu, 1 Jan 2004 16:45:31 -0500
| Newsgroups | gmane.comp.python.compiler |
|---|---|
| Message-ID | <000001c3d0b0$94e67aa0$20bba8c0@XP> |
> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Neal Norwitz > Sent: Monday, December 29, 2003 5:18 PM > To: [email protected] > Subject: [Compiler-sig] ast branch status > > > I've been working on the AST branch. I *think* it's in > better shape than before I started, but YMMV. :-) > > I don't get any crashes now. When I do a make, setup.py > "executes," but it doesn't do anything. I have two > outstanding changes to make it run through to completion with > exceptions: > > 1) Remove first line in getopt.py (need to impl file > encoding/pep 263) > 2) Comment out BLDSHARED line Lib/distutils/sysconfig.py (363) > > I added a section at the top of Python/newcompile.c for the > known bugs. > > There are a few memory leaks now when running setup.py. But > I think there's a lot of potential leaks. The lifetime of > memory isn't clear to me. But maybe it's just my confusion. > > Since setup.py doesn't work, I can't run any tests right now. > I'll probably build the extensions by hand and see if I can > get a bunch of tests to work. It's probably easier to debug > segfaults than just strange behaviour (like setup doing nothing). :-( > > Any help or ideas for how to proceed would be great. > > Neal > Did you make some changes to symtable.h that need to be checked in? I'm getting some errors on the symtable struct when I try to compile: C:\src\ast-branch\dist\src\Python\symtable.c(44) : error C2039: 'ste_varargs' : is not a member of '_symtable_entry' ..\Include\symtable.h(25) : see declaration of '_symtable_entry' C:\src\ast-branch\dist\src\Python\symtable.c(45) : error C2039: 'ste_varkeywords' : is not a member of '_symtable_entry' ..\Include\symtable.h(25) : see declaration of '_symtable_entry' C:\src\ast-branch\dist\src\Python\symtable.c(895) : error C2039: 'ste_varargs' : is not a member of '_symtable_entry' ..\Include\symtable.h(25) : see declaration of '_symtable_entry' C:\src\ast-branch\dist\src\Python\symtable.c(900) : error C2039: 'ste_varkeywords' : is not a member of '_symtable_entry' ..\Include\symtable.h(25) : see declaration of '_symtable_entry'