Opened 11 years ago

Last modified 6 years ago

#9107 closed defect

Nested class name mangling can be wrong in case of double nesting — at Initial Version

Reported by: hivert Owned by: nthiery
Priority: major Milestone: sage-6.3
Component: categories Keywords:
Cc: SimonKing, zabrocki Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


In the following class tree:

class Bla(UniqueRepresentation):
    class Bla1(UniqueRepresentation):
        class Bla11:
    class Bla2:
        class Bla21:

The names are set to

        sage: Bla.Bla1.__name__
        sage: Bla.Bla2.__name__
        sage: Bla.Bla2.Bla21.__name__


        sage: Bla.Bla1.Bla11.__name__

whereas one would expect 'Bla.Bla1.Bla11' This breaks a lot of doc in categories and in particular in functorial constructions.


Change History (0)

Note: See TracTickets for help on using tickets.