[Pyrex] A couple of questions about pyrex
    Yingjie Lan 
    lanyjie at yahoo.com
       
    Fri May 15 00:56:19 CEST 2009
    
    
  
--- On Thu, 5/14/09, Stefan Behnel <stefan_ml at behnel.de> wrote:
> From: Stefan Behnel <stefan_ml at behnel.de>
> Subject: Re: [Pyrex] A couple of questions about pyrex
> To: "Yingjie Lan" <lanyjie at yahoo.com>
> Cc: "Pyrex ML" <pyrex at lists.copyleft.no>
> Date: Thursday, May 14, 2009, 10:11 AM
> 
> Yingjie Lan wrote:
> > I read pretty much all the beginner's documentation
> but
> > did not find anything on writing a pure python class
> > in your .pyx file. It is a little weird to have an
> > extension language that also support pure python
> class.
> > Why not just write that into a pure python module?
> 
> Yes, I agree that Cython should enable you to import Python
> modules. If it
> did that, there wouldn't be any reason left to implement
> any Python classes
> in Cython, so removing that 'feature' would really clean up
> our code base,
> certainly without any performance regression or whatsoever
> for the now
> imported Python code.
> 
Oh sure, you said it all better than me. Thanks!
yingjie
      
    
    
More information about the Pyrex
mailing list