#11768: Get source code for parent/element classes of categories
-----------------------------------------+----------------------------------
       Reporter:  SimonKing              |         Owner:  jason       
           Type:  enhancement            |        Status:  needs_review
       Priority:  major                  |     Milestone:  sage-5.6    
      Component:  misc                   |    Resolution:              
       Keywords:  sources dynamic class  |   Work issues:              
Report Upstream:  N/A                    |     Reviewers:              
        Authors:  Simon King             |     Merged in:              
   Dependencies:                         |      Stopgaps:              
-----------------------------------------+----------------------------------

Comment (by SimonKing):

 I think what I need is:

  * A parent class whose metaclass is a sub-class of `NestedClassMetaclass`
 (such as `UniqueRepresentation`)
  * ... so that the `Element` attribute is given as a nested class.

 These two properties hold for the `JackPolynomials` example.

 What I could do is to create a minimal example in the doc tests.
 Unfortunately, I need a source file to make it work -- hence, such a doc
 test needs to use the cython(...) function and hence needs a compiler.

 I did create a couple of examples of that type in other patches that got
 merged, but some people said it is bad practice to have examples that rely
 on a compiler.

 So, what do you think? Shall I use the compiler, or perhaps create a new
 class in the Sage library just for the purpose of testing?

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