#11768: Get source code for parent/element classes of categories
---------------------------+------------------------------------------------
   Reporter:  SimonKing    |          Owner:  jason                
       Type:  enhancement  |         Status:  needs_review         
   Priority:  major        |      Milestone:  sage-4.8             
  Component:  misc         |       Keywords:  sources dynamic class
Work_issues:               |       Upstream:  N/A                  
   Reviewer:               |         Author:  Simon King           
     Merged:               |   Dependencies:                       
---------------------------+------------------------------------------------

Comment(by SimonKing):

 With the patch, one still has
 {{{
 sage: C = Algebras(ZZ).TensorProducts()
 sage: C.ParentMethods??
 Error getting source: could not get source code
 Type:           classobj
 String Form:    sage.categories.algebras.TensorProducts.ParentMethods
 Namespace:      Interactive
 File:
 /mnt/local/king/SAGE/rebase/sage-4.8.alpha0/local/lib/python2.6/site-
 packages/sage/categories/algebras.py
 }}}

 However, if C is the category of Z-algebras, then `C.ParentMethods??`
 works nicely. So, the patch isn't perfect, but it is a progress. Review,
 anyone?

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