#17872: SingularKernelFunction documentation doesn't work
-----------------------------+----------------------------
   Reporter:  Snark          |            Owner:
       Type:  defect         |           Status:  new
   Priority:  minor          |        Milestone:  sage-6.6
  Component:  documentation  |         Keywords:
  Merged in:                 |          Authors:
  Reviewers:                 |  Report Upstream:  N/A
Work issues:                 |           Branch:
     Commit:                 |     Dependencies:
   Stopgaps:                 |
-----------------------------+----------------------------
 I found the following during my debian experiments (sage's develop
 branch), but confirmed it using a vanilla sage 6.5 :
 {{{
 sage: from sage.algebras.letterplace.free_algebra_element_letterplace
 import poly_reduce
 sage: help(poly_reduce)
 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)
 <ipython-input-3-6f8ca6115b81> in <module>()
 ----> 1 help(poly_reduce)

 /home/jpuydt/sage-6.5/local/lib/python2.7/site-
 packages/sage/misc/sagedoc.pyc in help(module)
    1455             from sage.misc.sageinspect import sage_getdef,
 _sage_getdoc_unformatted
    1456             docstr = 'Help on ' + str(module) + '\n'
 -> 1457             docstr += 'Definition: ' + module.__name__ +
 sage_getdef(module) + '\n'
    1458             pydoc.pager(docstr + _sage_getdoc_unformatted(module))
    1459         else:

 AttributeError: 'sage.libs.singular.function.SingularKernelFunction'
 object has no attribute '__name__'
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17872>
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