[Pyrex] Total newbie needs code review

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 13 04:27:10 CEST 2005


Chris Stromberger wrote:

> This line, from my original example:
> 
>   def pyfunc(self, pyinputs):
>    cdef inputs* cinputs
>    cinputs.s = pyinputs.s

Yeah, that's a false alarm. You can fix it with

   s = pyinputs.s
   cinputs.s = s

I really need to tone down the paranoia level a bit
in this area, since it tends to be more annoying than
helpful.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+



More information about the Pyrex mailing list