[Pyrex] A couple of questions about pyrex

Yingjie Lan lanyjie at yahoo.com
Tue May 12 15:48:44 CEST 2009


Well, I just hope so, no offense though.

yingjie


--- On Tue, 5/12/09, Yingjie Lan <lanyjie at yahoo.com> wrote:

> From: Yingjie Lan <lanyjie at yahoo.com>
> Subject: Re: [Pyrex] A couple of questions about pyrex
> To: "Stefan Behnel" <stefan_ml at behnel.de>
> Cc: pyrex at lists.copyleft.no
> Date: Tuesday, May 12, 2009, 5:40 PM
> OK, I see. Thanks for the clarification. Maybe someday
> somebody will make a branch of pyrex and tweak things
> around.
> 
> yingjie
> 
> 
> --- On Tue, 5/12/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: lanyjie at yahoo.com
> > Cc: "Greg Ewing"
> <greg.ewing at canterbury.ac.nz>, pyrex at lists.copyleft.no
> > Date: Tuesday, May 12, 2009, 5:18 PM
> > Yingjie Lan wrote:
> > > If 'cdef' define a function hidden from
> > python,
> > > why 'cdef class' define a class for
> python?
> > > I would expect 'cdef class' define an
> > invisible
> > > class (for internal use of the module) in a
> > > pythonic way (making things easier).
> > 
> > This is a major FAQ in Pyrex. Yes, this is
> inconsistent,
> > but it's the way
> > it is and it will not change. It also makes it hard to
> find
> > a syntax to
> > define 'private' (module-internal) classes,
> > although there will hopefully
> > be such a syntax one day (this has also been discussed
> > many, many times).
> > 
> > Stefan
> 
> 
>       
> 
> _______________________________________________
> Pyrex mailing list
> Pyrex at lists.copyleft.no
> http://lists.copyleft.no/mailman/listinfo/pyrex


      



More information about the Pyrex mailing list