#10039: Make Parma Polyhedra Library a standard library
----------------------------+-----------------------------------------------
   Reporter:  vbraun        |       Owner:  mhampton    
       Type:  enhancement   |      Status:  needs_review
   Priority:  major         |   Milestone:  sage-feature
  Component:  geometry      |    Keywords:  ppl spkg    
     Author:  Volker Braun  |    Upstream:  N/A         
   Reviewer:                |      Merged:              
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by vbraun):

 I've now added sig_on/sig_off blocks around expensive library calls.
 Interrupting works, too:
 {{{
 sage: Cone(random_matrix(QQ,100,10).rows())
 ^CERROR: An unexpected error occurred while tokenizing input
 The following traceback may be corrupted or invalid
 The error message is: ('EOF in multi-line statement', (2152, 0))

 ---------------------------------------------------------------------------
 KeyboardInterrupt                         Traceback (most recent call
 last)

 /home/vbraun/opt/sage-4.6.1.rc1/devel/sage-main/<ipython console> in
 <module>()

 /home/vbraun/Sage/sage/local/lib/python2.6/site-
 packages/sage/geometry/cone.pyc in Cone(rays, lattice, check, normalize)
     390             pass
     391     cone = C_Polyhedron(gs)
 --> 392     return _Cone_from_PPL(cone, lattice)
     393
     394 def _Cone_from_PPL(cone, lattice):

 /home/vbraun/Sage/sage/local/lib/python2.6/site-
 packages/sage/geometry/cone.pyc in _Cone_from_PPL(cone, lattice)
     420     rays = []
     421     lines = []
 --> 422     for g in cone.minimized_generators():
     423         ray = lattice(g.coefficients())
     424         ray.set_immutable()

 KeyboardInterrupt:
 }}}
 Note: in this example I have #10140: "Base sage.geometry.cone on the Parma
 Polyhedra Library (PPL)" applied.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10039#comment:35>
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.

Reply via email to