#11490: Add a thematic tutorial on coercion and categories
---------------------------------------------------------+------------------
       Reporter:  SimonKing                              |         Owner:  
mvngu                              
           Type:  enhancement                            |        Status:  
needs_review                       
       Priority:  major                                  |     Milestone:  
sage-5.7                           
      Component:  documentation                          |    Resolution:       
                              
       Keywords:  categories coercion thematic tutorial  |   Work issues:       
                              
Report Upstream:  N/A                                    |     Reviewers:  
Vincent Delecroix, Travis Scrimshaw
        Authors:  Simon King                             |     Merged in:       
                              
   Dependencies:  #14084                                 |      Stopgaps:       
                              
---------------------------------------------------------+------------------

Comment (by SimonKing):

 PS: And a few lines after moticating the use of `UniqueRepresentation` in
 the text, there is a fat note saying
 {{{
 Note

 UniqueRepresentation automatically provides our class with pickling,
 preserving the unique parent condition. If we had defined the class in
 some external module or in an interactive session, pickling would work
 immediately.

 However, for making the example work in Sage’s doctesting framework, we
 need to assign our class as an attribute of the __main__ module, so that
 the class can be looked up during unpickling.
 }}}
 I really don't see how this can be overlooked.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11490#comment:40>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to