#13057: introspection is slow
--------------------------------------------+-------------------------------
       Reporter:  bober                     |         Owner:  mvngu       
           Type:  defect                    |        Status:  needs_review
       Priority:  major                     |     Milestone:  sage-5.1    
      Component:  documentation             |    Resolution:              
       Keywords:  regression introspection  |   Work issues:              
Report Upstream:  N/A                       |     Reviewers:              
        Authors:  John Palmieri             |     Merged in:              
   Dependencies:                            |      Stopgaps:              
--------------------------------------------+-------------------------------
Changes (by {'newvalue': u'John Palmieri', 'oldvalue': ''}):

 * cc: hivert (added)
  * status:  new => needs_review
  * author:  => John Palmieri


Comment:

 Here is essentially the above patch (although I've now also included the
 last line in the "if" block). Please test it from the command line and in
 the notebook, and you should probably also build the regular documentation
 and make sure it still looks okay.

 When I was testing this, I added a line to try to verify that app.srcdir
 is as I'm claiming in the patch (this applies on top of the attached
 patch):
 {{{
 #!diff
 diff --git a/doc/common/conf.py b/doc/common/conf.py
 --- a/doc/common/conf.py
 +++ b/doc/common/conf.py
 @@ -608,6 +608,8 @@ def setup(app):
      app.connect('autodoc-process-docstring', process_inherited)
      app.connect('autodoc-skip-member', skip_member)

 +    print "************* %s **************" % app.srcdir
 +
      # When building the standard docs, app.srcdir is set to SAGE_DOC +
      # 'LANGUAGE/DOCNAME', but when doing introspection, app.srcdir is
      # set to a temporary directory.  We don't want to use intersphinx,
 }}}

 Florent: is this a good solution (i.e., not using intersphinx, etc., when
 doing introspection)?

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