Re: A couple of questions about pyrex

Yingjie Lan <[email protected]> Tue, 12 May 2009 08:35:30 -0700 (PDT)
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
> From: Yingjie Lan <[email protected]>
> Subject: Re: [Pyrex] A couple of questions about pyrex
> To: "Stefan Behnel" <[email protected]>
> Cc: [email protected]
> Date: Tuesday, May 12, 2009, 6:46 PM
> Changing features dramatically could cause a lot of
> troubles. I wonder if everybody will be happy with this:
> 
> Simply allow 'class MyClass' to be equivalent to
> 'cdef class MyClass' when appropriate (e.g. when the
> body of the class contain some 'cdef' statements).
> 
> 

Think further down the road after that is done, 
if some day we decided to use 'cdef class' for 
private class definitions, then we can just provide 
a simple tool that convert all 'cdef class' into 'class'
for stuff written for the previous versions of pyrex.
It is that simple. Just like what Python 3.0 did.

yingjie