On Feb 14, 9:20 am, William Stein <wst...@gmail.com> wrote: > PY_NEW is a macro that creates the class without calling __init__. > This is an optimization.
Hasn't that construction been made obsolete by "Matrix2.__new__(Matrix2)" ? See http://trac.cython.org/cython_trac/ticket/443. I think I used it for that purpose in EclObject. It looks cleaner and you can use it without an extra include. If you're writing this in a book, you may want to check with the cython folk what the recommended construct is. Plus I'd be interested to know if there is still a reason to prefer PY_NEW. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org