Re: [sage-devel] Mutability and Cython...

2010-03-01 Thread Mike Hansen
Hello, On Mon, Mar 1, 2010 at 1:10 AM, Florent Hivert wrote: > I'm doing some cleanup in mutability, but I'm rather new to Cython. I there > any reason (aside backward compatibility) to have these two following methods > rather than a cpdef ? Nope, I believe that these were written before cpdef

[sage-devel] Mutability and Cython...

2010-03-01 Thread Florent Hivert
Hi there, I'm doing some cleanup in mutability, but I'm rather new to Cython. I there any reason (aside backward compatibility) to have these two following methods rather than a cpdef ? def _require_mutable(self): if self._is_immutable: raise ValueError, "object is i