#12093: Replace __getslice__ with functionality in __getitem__ in several files
(part 2)
-------------------------------+--------------------------------------------
Reporter: aapitzsch | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: François Bissey | Author: André Apitzsch
Merged: | Dependencies:
-------------------------------+--------------------------------------------
Changes (by aapitzsch):
* status: needs_work => needs_review
* work_issues: rebase =>
Old description:
> {{{__getslice__}}} has been deprecated for a long time in Python. This
> patch adds equivalent functionality to {{{__getitem__}}}, which is where
> the functionality should be.
>
> See comment:4:ticket:12041.
>
> Apply:
> * [attachment:trac_12093.patch]
> * [attachment:trac_12093_2.patch]
> * [attachment:trac_12093_comment.patch]
New description:
{{{__getslice__}}} has been deprecated for a long time in Python. This
patch adds equivalent functionality to {{{__getitem__}}}, which is where
the functionality should be.
See comment:4:ticket:12041.
Apply:
* [attachment:trac_12093.rebased.patch]
--
Comment:
I attached a rebased version and additionally changed the raise syntax
preparing for Python 3 (see PEP 3109). Hope that's okay.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12093#comment:17>
Sage <http://www.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.