[Python-Dev] Questionable AST wibbles

M.-A. Lemburg mal at egenix.com
Sat Oct 22 00:01:06 CEST 2005


Neal Norwitz wrote:
> Jeremy,
> 
> There are a bunch of mods from the AST branch that got integrated into
> head.  Hopefully, by doing this on python-dev more people will get
> involved.  I'll describe  high level things first, but there will be a
> ton of details later on.  If people don't want to see this crap on
> python-dev, I can take this offline.
> 
> Highlevel overview of code size (rough decrease of 300 C source lines):
>  * Python/compile.c -2733 (was 6822 now 4089)
>  * Python/Python-ast.c +2281 (new file)
>  * Python/asdl.c +92 (new file)
>  * plus other minor mods

FYI, I'm getting these warnings:

Python/Python-ast.c: In function `marshal_write_expr_context':
Python/Python-ast.c:1995: warning: unused variable `i'
Python/Python-ast.c: In function `marshal_write_boolop':
Python/Python-ast.c:2070: warning: unused variable `i'
Python/Python-ast.c: In function `marshal_write_operator':
Python/Python-ast.c:2085: warning: unused variable `i'
Python/Python-ast.c: In function `marshal_write_unaryop':
Python/Python-ast.c:2130: warning: unused variable `i'
Python/Python-ast.c: In function `marshal_write_cmpop':
Python/Python-ast.c:2151: warning: unused variable `i'
Python/Python-ast.c: In function `marshal_write_keyword':
Python/Python-ast.c:2261: warning: unused variable `i'
Python/Python-ast.c: In function `marshal_write_alias':
Python/Python-ast.c:2270: warning: unused variable `i'

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Oct 21 2005)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Python-Dev mailing list