#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 jdemeyer):

 Offending `.tex` file:
 [http://boxen.math.washington.edu/home/jdemeyer/badlatex/categories.tex]

 The relevant lines are
 {{{
 \begin{Verbatim}[commandchars=\\\{\}]
 \PYG{g+gp}{sage: }\PYG{k+kn}{from}
 \PYG{n+nn}{sage.categories.realizations} \PYG{k+kn}{import}
 \PYG{n}{Category\PYGZus{}realization\PYGZus{}of\PYGZus{}parent}
 \PYG{g+gp}{sage: }\PYG{n}{A} \PYG{o}{=}
 
\PYG{n}{Sets}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{WithRealizations}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{example}\PYG{p}{(}\PYG{p}{)}\PYG{p}{;}
 \PYG{n}{A}
 \PYG{g+go}{The subset algebra of \PYGZob{}1, 2, 3\PYGZcb{} over Rational
 Field}
 \PYG{g+gp}{sage: }\PYG{n}{C} \PYG{o}{=}
 \PYG{n}{A}\PYG{o}{.}\PYG{n}{Realizations}\PYG{p}{(}\PYG{p}{)}\PYG{p}{;}
 \PYG{n}{C}
 \PYG{g+go}{Category of realizations of The subset algebra of \PYGZob{}1,
 2, 3\PYGZcb{} over Rational Field}
 \PYG{g+gp}{sage: }\PYG{n+nb}{isinstance}\PYG{p}{(}\PYG{n}{C}\PYG{p}{,}
 \PYG{n}{Category\PYGZus{}realization\PYGZus{}of\PYGZus{}parent}\PYG{p}{)}
 \PYG{g+go}{True}
 \PYG{g+gp}{sage:
 }\PYG{n}{C}\PYG{o}{.}\PYG{n}{parent\PYGZus{}with\PYGZus{}realization}
 \PYG{g+go}{The subset algebra of \PYGZob{}1, 2, 3\PYGZcb{} over Rational
 Field}
 \PYG{g+gp}{sage:
 
}\PYG{n}{TestSuite}\PYG{p}{(}\PYG{n}{C}\PYG{p}{)}\PYG{o}{.}\PYG{n}{run}\PYG{p}{(}\PYG{p}{)}
 \end{Verbatim}
 \index{super\_categories()
 (sage.categories.sets\_cat.Sets.WithRealizations.ParentMethods.Realizations
 method)}

 \begin{fulllineitems}
 
\phantomsection\label{sage/categories/sets_cat:sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.Realizations.super_categories}\pysiglinewithargsret{\bfcode{super\_categories}}{}{}
 EXAMPLES:

 \begin{Verbatim}[commandchars=\\\{\}]   %% PROBLEM IS THIS LINE %%
 \PYG{g+gp}{sage: }\PYG{n}{A} \PYG{o}{=}
 
\PYG{n}{Sets}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{WithRealizations}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{example}\PYG{p}{(}\PYG{p}{)}\PYG{p}{;}
 \PYG{n}{A}
 \PYG{g+go}{The subset algebra of \PYGZob{}1, 2, 3\PYGZcb{} over Rational
 Field}
 \PYG{g+gp}{sage:
 
}\PYG{n}{A}\PYG{o}{.}\PYG{n}{Realizations}\PYG{p}{(}\PYG{p}{)}\PYG{o}{.}\PYG{n}{super\PYGZus{}categories}\PYG{p}{(}\PYG{p}{)}
 \PYG{g+go}{[Category of realizations of sets]}
 \end{Verbatim}

 \end{fulllineitems}


 \end{fulllineitems}

 \index{facade\_for()
 (sage.categories.sets\_cat.Sets.WithRealizations.ParentMethods method)}
 }}}

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