#9107: Nested class name mangling can be wrong in case of double nesting
--------------------------+-------------------------------------------------
Reporter: hivert | Owner: nthiery
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.3
Component: categories | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------+-------------------------------------------------
In the following class tree:
{{{
class Bla(UniqueRepresentation):
class Bla1(UniqueRepresentation):
class Bla11:
Pass
class Bla2:
class Bla21:
Pass
}}}
The names are set to
{{{
sage: Bla.Bla1.__name__
'Bla.Bla1'
sage: Bla.Bla2.__name__
'Bla.Bla2'
sage: Bla.Bla2.Bla21.__name__
'Bla.Bla2.Bla21'
}}}
But
{{{
sage: Bla.Bla1.Bla11.__name__
'Bla1.Bla11'
}}}
whereas one would expect {{{'Bla.Bla1.Bla11'}}}
This breaks a lot of doc in categories and in particular in functorial
constructions.
Florent
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9107>
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.