Re: A couple of questions about pyrex
Yingjie Lan <[email protected]> Thu, 14 May 2009 15:56:19 -0700 (PDT)
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
--- On Thu, 5/14/09, Stefan Behnel <[email protected]> wrote: > From: Stefan Behnel <[email protected]> > Subject: Re: [Pyrex] A couple of questions about pyrex > To: "Yingjie Lan" <[email protected]> > Cc: "Pyrex ML" <[email protected]> > 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