#9089: Graphics3dGroup __add__ modifies its arguments
-----------------------------------+----------------------------------------
Reporter: jason | Owner: jason, was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.5
Component: graphics | Keywords:
Author: Jason Grout | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Changes (by davidloeffler):
* status: positive_review => needs_work
Comment:
I'm getting a doctest failure with this patch on 4.5.alpha1:
{{{
**********************************************************************
File "/storage/masiao/sage-4.5.alpha1/devel/sage-
reviewing/sage/plot/plot.py", line 428:
sage: g.show()
Exception raised:
Traceback (most recent call last):
File "/storage/masiao/sage-4.5.alpha1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/storage/masiao/sage-4.5.alpha1/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/storage/masiao/sage-4.5.alpha1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_3[11]>", line 1, in <module>
g.show()###line 428:
sage: g.show()
File "base.pyx", line 1081, in sage.plot.plot3d.base.Graphics3d.show
(sage/plot/plot3d/base.c:10184)
File "base.pyx", line 524, in
sage.plot.plot3d.base.Graphics3d.tachyon (sage/plot/plot3d/base.c:4785)
File "base.pyx", line 1408, in
sage.plot.plot3d.base.Graphics3dGroup.texture_set
(sage/plot/plot3d/base.c:13371)
File "base.pyx", line 1408, in
sage.plot.plot3d.base.Graphics3dGroup.texture_set
(sage/plot/plot3d/base.c:13371)
File "base.pyx", line 1408, in
sage.plot.plot3d.base.Graphics3dGroup.texture_set
(sage/plot/plot3d/base.c:13371)
File "base.pyx", line 1408, in
sage.plot.plot3d.base.Graphics3dGroup.texture_set
(sage/plot/plot3d/base.c:13387)
TypeError: reduce() of empty sequence with no initial value
**********************************************************************
}}}
Also, if I install this together with the patches at #9066 I get a bunch
more failures coming in:
{{{
sage -t -long devel/sage/sage/plot/plot3d/shapes2.py # 5 doctests failed
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9089#comment:11>
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.