#15993: Python 3 preparation: Remove implicit tuple parameter unpacking
-------------------------------------+-------------------------------------
Reporter: wluebbe | Owner:
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-6.2
Component: distribution | Resolution:
Keywords: python3 | Merged in:
Authors: Wilfried Luebbe | Reviewers: R. Andrew Ohana,
Report Upstream: N/A | Frédéric Chapoton
Branch: | Work issues:
public/ticket/15993 | Commit:
Dependencies: | fbbd41e8ad93e2660c23572460b7beaa3d20eb73
| Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vbraun):
{{{
File "src/sage/combinat/designs/ext_rep.py", line 737, in
sage.combinat.designs.ext_rep.XTree.__getitem__
Failed example:
xt.__getitem__(119)
Expected:
Traceback (most recent call last):
...
IndexError: XTree<blocks> has no index 119
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest sage.combinat.designs.ext_rep.XTree.__getitem__[4]>",
line 1, in <module>
xt.__getitem__(Integer(119))
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/combinat/designs/ext_rep.py", line 745, in __getitem__
raise IndexError('%s no index %s' % (self.__repr__(), `i`))
IndexError: XTree<blocks> no index 119
}}}
You can probably reproduce this if you merge in the latest beta...
--
Ticket URL: <http://trac.sagemath.org/ticket/15993#comment:15>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.