#6590: [with patch, needs review] Cython __new__ should be __cinit__
----------------------+-----------------------------------------------------
Reporter: robertwb | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.1
Component: build | Keywords:
Reviewer: | Author:
Merged: |
----------------------+-----------------------------------------------------
Comment(by jason):
How come the some of the new __cinit__ functions have different signatures
from the corresponding __init__ functions? I thought the signatures
should be the same, or at least the __cinit__ should have a *args or
**kwds to accept the arguments passed to __init__
In particular, I refer to sage/libs/ntl/ntl_mat_GF2.pyx,
sage/libs/ntl/ntl_mat_ZZ.pyx, sage/matrix/matrix_integer_2x2.pyx, etc.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6590#comment:1>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---