#9107: Nested class name mangling can be wrong in case of double nesting
------------------------------+---------------------------------------------
       Reporter:  hivert      |         Owner:  nthiery                     
           Type:  defect      |        Status:  needs_work                  
       Priority:  major       |     Milestone:  sage-5.10                   
      Component:  categories  |    Resolution:                              
       Keywords:              |   Work issues:                              
Report Upstream:  N/A         |     Reviewers:  Volker Braun, Florent Hivert
        Authors:  Simon King  |     Merged in:                              
   Dependencies:  #12808      |      Stopgaps:                              
------------------------------+---------------------------------------------

Comment (by SimonKing):

 Replying to [comment:29 jdemeyer]:
 > '''before''' this patch (good):
 > {{{
 >
 
\phantomsection\label{sage/categories/sets_cat:sage.categories.sets_cat.Sets.WithRealizations.ParentMethods}\pysigline{\bfcode{ParentMethods}}
 > alias of \code{WithRealizations.ParentMethods}
 > }}}
 > '''after''' this patch (bad):
 > {{{
 >
 
\phantomsection\label{sage/categories/sets_cat:sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.Realizations}\pysiglinewithargsret{\strong{class
 }\bfcode{Realizations}}{\emph{parent\_with\_realization}}{}
 > Bases:
 
{\hyperref[sage/categories/realizations:sage.categories.realizations.Category_realization_of_parent]{\code{sage.categories.realizations.Category\_realization\_of\_parent}}}
 > }}}

 Three questions:

 1. Why is it bad? I don't see why latex should have a problem with it.
 2. Isn't the "good" output without my patch just plain wrong? After all,
 we do have
    {{{
 sage:
 
sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.Realizations.__bases__
 (sage.categories.realizations.Category_realization_of_parent,)
    }}}
    and also
 `sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.Realizations`
 is certainly ''not'' simply an alias of `WithRealizations.ParentMethods`.
 3. Can you also point me to the code that created the latex output?

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