Re: [Cython] Rewriting/compiling parts of CPython's stdlib in Cython

2011-03-28 Thread Stefan Behnel
Robert Bradshaw, 29.03.2011 02:09: I don't see re-implementing working C modules written, though probably valuable from a maintenance point of view, as compelling of a use case. It would be rather helpful for CPython, though. Many stdlib modules lack dedicated maintainers, and it's likely easi

Re: [Cython] cython crash: default parameters in methods of template cppclass

2011-03-28 Thread Robert Bradshaw
On Tue, Mar 22, 2011 at 7:21 AM, Simon Anders wrote: > Hi, > > I found a little bug in Cython 0.14.1. > > The following causes the Cython compiler to throw an exception: > > ---8<--- > cdef extern from "foo.h": >   cdef cppclass foo[ T ]: >      bar( int b = 0 ) > > cdef foo[ int ] a > a.bar( 1 )

Re: [Cython] Rewriting/compiling parts of CPython's stdlib in Cython

2011-03-28 Thread Robert Bradshaw
On Sun, Mar 27, 2011 at 3:39 PM, Sturla Molden wrote: > Den 25.03.2011 19:03, skrev Robert Bradshaw: >> Looking at Guido's comment, Cython must be able to compile all valid Python if this will have any chance of success. >> >> Good thing that's our goal (pending an actual definition of "