#9958: Upgrade python to 2.7
---------------------------+------------------------------------------------
Reporter: mhampton | Owner: tbd
Type: enhancement | Status: needs_work
Priority: major | Milestone:
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies: #11156 #11236 #11244 #11264
#11339 #11363 #11376
---------------------------+------------------------------------------------
Comment(by kcrisman):
Replying to [comment:112 fbissey]:
> In polyhedra.py it looks like you have a problem with jmol printing 3D
images to file. It involves zip, looking at the pyx there is an instance
of testing zip. Could you paste the cython code that produced
sage/plot/plot3d/base.c:5867 ?
{{{
/* "sage/plot/plot3d/base.pyx":663
* f.write("isosurface fullylit; pmesh o* fullylit; set
antialiasdisplay on;\n")
*
* render_params.output_archive.writestr('SCRIPT', f.getvalue())
# <<<<<<<<<<<<<<
* render_params.output_archive.close()
*
*/
__pyx_t_3 = PyObject_GetAttr(__pyx_v_render_params,
__pyx_n_s__output_archive); if (unlikely(!__pyx_t_3)) {__pyx_filename =
__pyx_f[0]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto
__pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_2 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s__writestr); if
(unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 663;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_3 = PyObject_GetAttr(__pyx_v_f, __pyx_n_s__getvalue); if
(unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 663;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_empty_tuple),
NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0];
__pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename =
__pyx_f[0]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto
__pyx_L1_error;}
__Pyx_GOTREF(((PyObject *)__pyx_t_3));
__Pyx_INCREF(((PyObject *)__pyx_n_s__SCRIPT));
PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__SCRIPT));
__Pyx_GIVEREF(((PyObject *)__pyx_n_s__SCRIPT));
PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_4);
__pyx_t_4 = 0;
__pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if
(unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 663;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}}}
5867 is
{{{
__pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if
(unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 663;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
}}}
----
I was also surprised by the polyhedra.py additional weirdness. Anything I
can do to help identify it? Warning: I'm planning on building and testing
alpha2 ''without'' Python 2.7 now, which will tie up most resources on
this machine for a couple days.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:114>
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.