Re: [Python-Dev] wpython is back

2009-11-27 Thread Christian Heimes
Cesare Di Mauro wrote:
> 
> You'll find some at page 28
> here
> ..
> 
> Mart made more interesting
> oneswith
> 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 ’ has no member named ‘Const’

Python/ast.c:343: error: ‘union ’ 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

___
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: [Python-Dev] wpython is back

2009-11-27 Thread Cesare Di Mauro
2009/11/27 Christian Heimes 

> 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 >with
> > Unladen benchmarks.
>
> The PDF document sounded interesting and I was tempted to test WPython.
> Unfortunately it doesn't compile on my box:
>
>  [...]


That's because Include/Python-ast.h file is autogenerated from the ASDL
grammar file the first time that you try to compile wpython.

You need to replace it with the one bundled with wpython.

It's a known problem that I'll address ASAP.

Cesare
___
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


[Python-Dev] Summary of Python tracker Issues

2009-11-27 Thread Python tracker

ACTIVITY SUMMARY (11/20/09 - 11/27/09)
Python tracker at http://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue 
number.  Do NOT respond to this message.


 2506 open (+19) / 16719 closed (+14) / 19225 total (+33)

Open issues with patches:   999

Average duration of open issues: 689 days.
Median duration of open issues: 444 days.

Open Issues Breakdown
   open  2471 (+19)
pending34 ( +0)

Issues Created Or Reopened (34)
___

multiprocessing logging support test 11/24/09
   http://bugs.python.org/issue6615reopened jnoller 
  
   patch   

Windows 64-bit build "skips" several projects in VS 2008 11/20/09
CLOSED http://bugs.python.org/issue7371created  srid
  
   

Regression in pstats 11/21/09
   http://bugs.python.org/issue7372created  belopolsky  
  
   patch   

Use PyModule_AddIntMacro() in Modules/gcmodule.c 11/21/09
CLOSED http://bugs.python.org/issue7373created  jon 
  
   patch   

Property accessor/getter called twice11/22/09
CLOSED http://bugs.python.org/issue7374created  mliddle 
  
   

2to3 - does not translate urllib2 to urllib.request correctly fo 11/22/09
CLOSED http://bugs.python.org/issue7375created  orsenthil   
  
   

"python -m doctest" results in FAIL: Doctest: __main__.DebugRunn 11/22/09
   http://bugs.python.org/issue7376created  flox
  
   patch   

Slight difference: math.floor returns an Integral11/22/09
CLOSED http://bugs.python.org/issue7377created  flox
  
   

unexpected truncation of traceback   11/23/09
   http://bugs.python.org/issue7378created  ghewgill
  
   patch   

Docstring for fractions.Fraction.limit_denominator fails 11/23/09
CLOSED http://bugs.python.org/issue7379created  flox
  
   

uuid.UUID.bytes gives a bytearray() instead of bytes 11/23/09
   http://bugs.python.org/issue7380created  flox
  
   patch   

subprocess.check_output: "docstring has inconsistent leading whi 11/23/09
   http://bugs.python.org/issue7381created  flox
  
   patch   

bytes.__getnewargs__ is broken; copy.copy() therefore doesn't wo 11/23/09
   http://bugs.python.org/issue7382created  sh  
  
   patch, easy 

test_multiprocessing leaks   11/23/09
CLOSED http://bugs.python.org/issue7383created  pitrou  
  
   

test_curses crash on FreeBSD buildbots   11/23/09
   http://bugs.python.org/issue7384created  mark.dickinson  
  
   buildbot

MemoryView_FromObject crashes if PyBuffer_GetBuffer fails11/23/09
   http://bugs.python.org/issue7385created  pv  
  
   

More precise document on os.path.normpath()  11/24/09
   http://bugs.python.org/issue7386created  pengyu.ut   
  
   

More precise document on os.path.normpath()  11/24/09
CLOSED http://bugs.python.org/issue7387created  pengyu.ut   
  
   

Documentation: capitalizations of the word 'python' needed when  11/24/09
   http://bugs.python.org/issue7388created  Retro   
  
   easy