#16296: Speed improvements for categories with axioms
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.3
      Component:  categories         |   Resolution:
       Keywords:  cython             |    Merged in:
  performance categories             |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  9a420ad15fc941dfd3b3a12d005b4f814407a008
  u/SimonKing/ticket/16296           |     Stopgaps:
   Dependencies:  #10963, #15801,    |
  #16309                             |
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Probably the problem lies in the nesting:
 {{{
 sage: inspect.getsourcelines(HC.__class__)
 ---------------------------------------------------------------------------
 IOError                                   Traceback (most recent call
 last)
 <ipython-input-12-91ebc0139037> in <module>()
 ----> 1 inspect.getsourcelines(HC.__class__)

 /home/king/Sage/git/sage/local/lib/python/inspect.pyc in
 getsourcelines(object)
     688     original source file the first line of code was found.  An
 IOError is
     689     raised if the source code cannot be retrieved."""
 --> 690     lines, lnum = findsource(object)
     691
     692     if ismodule(object): return lines, 0

 /home/king/Sage/git/sage/local/lib/python2.7/site-
 packages/IPython/core/ultratb.pyc in findsource(object)
     189             return lines, candidates[0][1]
     190         else:
 --> 191             raise IOError('could not find class definition')
     192
     193     if ismethod(object):

 IOError: could not find class definition
 }}}

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

Reply via email to