[Python-Dev] Will ASTbranch compile on windows yet?
I submitted patch "[ 742621 ] ast-branch: msvc project sync" in the VC6.0 days. There were some required changes to headers as well as the project files. It had discouraged me in the past when Jeremy made calls for help on the astbranch and I wasn't even sure if the source was in a compilable state when I checked it out. I'm sure it has discouraged other windows programmers as well. -Grant ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: Re: [Python-Dev] Will ASTbranch compile on windows yet?
[TIM] > > I don't have time to join the current crusade. If there's pent-up > interest among Windows users, it would be good to say which > compiler(s) you can use, since I expect not everyone can deal with VC > 7.1 (e.g., I think Raymond Hettinger is limited to VC 6; and you said > you worked up a VC 6 patch, but didn't say whether you could use 7.1 > now). > I've attached an updated patch that gets things working against current cvs. This also includes some fixes for typos that appear to have slipped through gcc and my have caused obscure bugs in *nix as well. I'll gladly fix the MSVC 7.1 project files after someone with commit privleges merges changes from HEAD as Jeremy requested. Any windows users building based on this patch would also need to run the 'asdl_c.py' utility manually right now before compiling. Something like: C:\Src\ast-branch\dist\src\Parser>asdl_c.py -h ..\Include -c ..\Python Python.asdl I'll get a proper fix in for MSVC 7.1, but don't feel like dealing with it for the obsolete 6.0 project files. -Grant ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Python pythonrun.c, 2.161.2.15, 2.161.2.16
> > From: [EMAIL PROTECTED] (Kurt B. Kaiser) > Date: 2005/01/07 Fri PM 09:18:11 GMT > To: python-dev@python.org > Subject: Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Python > pythonrun.c, 2.161.2.15, 2.161.2.16 > > Jeremy Hylton <[EMAIL PROTECTED]> writes: > > > How's the merge going? > > Looks like it's done. I tagged ast-branch when I finished: > > merged_from_MAIN_07JAN05 > > Right now I'm trying to get Python-ast.c to compile. It wasn't > modified by the merge, so there's some other issue. > Python-ast.c should be autogenerated in the make process by asdl_c.py. There are still some bugs in it. The fix I think you need is posted. A full diff against the current python_ast.c is attached to patch 742621. @@ -1310,7 +1310,7 @@ free_expr(o->v.Repr.value); break; case Num_kind: -Py_DECREF(o->v.Num.n); +free_expr(o->v.Num.n); break; case Str_kind: Py_DECREF(o->v.Str.s) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com