[Python-Dev] wpython is back

Christian Heimes lists at cheimes.de
Fri Nov 27 15:09:55 CET 2009


Cesare Di Mauro wrote:
> 
> You'll find some at page 28
> here<http://wpython.googlecode.com/files/Beyond%20Bytecode%20-%20A%20Wordcode-based%20Python.pdf>
> ..
> 
> Mart made more interesting
> ones<http://www.mail-archive.com/python-dev@python.org/msg43282.html>with
> Unladen benchmarks.

The PDF document sounded interesting and I was tempted to test WPython.
Unfortunately it doesn't compile on my box:

$ make
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o
Python/ast.o Python/ast.c


Python/ast.c:30: warning: ‘enum _expr_const’ declared inside parameter
list
Python/ast.c:30: warning: its scope is only this definition or
declaration, which is probably not what you want

Python/ast.c:335: warning: ‘enum _expr_const’ declared inside parameter
list
Python/ast.c:335: error: parameter 2 (‘constant’) has incomplete type

Python/ast.c: In function ‘Const’:

Python/ast.c:341: error: ‘Const_kind’ undeclared (first use in this
function)

Python/ast.c:341: error: (Each undeclared identifier is reported only
once
Python/ast.c:341: error: for each function it appears in.)

Python/ast.c:342: error: ‘union <anonymous>’ has no member named ‘Const’

Python/ast.c:343: error: ‘union <anonymous>’ has no member named ‘Const’

Python/ast.c: In function ‘set_context’:

Python/ast.c:457: error: ‘Const_kind’ undeclared (first use in this
function)

Python/ast.c: At top level:

Python/ast.c:591: warning: ‘enum _expr_const’ declared inside parameter
list
Python/ast.c:590: error: conflicting types for ‘seq_for_testlist’

Python/ast.c:29: note: previous declaration of ‘seq_for_testlist’ was here
[...]

$ gcc --version
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
$ uname -a
Linux hamiller 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC
2009 x86_64 GNU/Linux



More information about the Python-Dev mailing list