#4973: [with patch, needs review] rewrite the function __getitem__ in
matrix0.pyx
to not explicitly use the python/C api
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: jason
Type: defect | Status: assigned
Priority: major | Milestone: sage-wishlist
Component: misc | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by jason):
* summary: [with patch, needs work] rewrite the function __getitem__ in
matrix0.pyx to not explicitly use the python/C
api => [with patch, needs review] rewrite the
function __getitem__ in matrix0.pyx to not
explicitly use the python/C api
Comment:
Apply matrix-getitem.2.patch only. This eliminates the C API calls, but
keeps the speed, approximately (some cases are a bit slower, some are a
bit faster). This patch also adds more standard slicing functionality to
getitem, which actually changes a few behaviors which went against python
convention. See the changed docstrings, for example.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4973#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---