On Dec 1, 2008, at 10:52 AM, Craig Citro wrote:
>> Question for all: is there a good reason for writing cdef
>> functions? Or
>> should we make all cython functions cpdef? Python convention
>> seems to
>> be to expose the internals of the class, but just mark (with "_" or
>> "__") the funct
> Question for all: is there a good reason for writing cdef functions? Or
> should we make all cython functions cpdef? Python convention seems to
> be to expose the internals of the class, but just mark (with "_" or
> "__") the functions that are considered internal and may change without
> warn
Simon King wrote:
> Dear Robert,
>
> On Nov 29, 7:43 pm, Robert Bradshaw <[EMAIL PROTECTED]>
> wrote:
>> You can't call cdef functions from the Python interpreter. You can
>> write a test function, e.g. "_test_mulint."
>
> Good idea!
>
> On the other hand, after writing "I wouldn't like to ma
Dear Robert,
On Nov 29, 7:43 pm, Robert Bradshaw <[EMAIL PROTECTED]>
wrote:
> You can't call cdef functions from the Python interpreter. You can
> write a test function, e.g. "_test_mulint."
Good idea!
On the other hand, after writing "I wouldn't like to make the method
public", I asked mysel
On Nov 29, 2008, at 9:01 AM, Simon King wrote:
> Dear Sage supporters,
>
> sorry if this is the wrong list.
> I have some cdefined methods of an extension class. How can I doc-test
> them?
>
> In more detail, having the following method definition of an extension
> class MTX, the doc test would f