#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.6
Component: categories | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Volker Braun
Authors: Simon King | Merged in:
Dependencies: #12808 | Stopgaps:
------------------------------+---------------------------------------------
Comment (by SimonKing):
Aha, here is an example:
The docstring of
`sage.categories.algebras_with_basis.AlgebrasWithBasis.CartesianProducts.ParentMethods.one_from_cartesian_product_of_one_basis`
is as follows:
{{{
@cached_method # todo: reinstate once #5843 is fixed
def one_from_cartesian_product_of_one_basis(self):
"""
Returns the one of this cartesian product of algebras, as
per ``Monoids.ParentMethods.one``
It is constructed as the cartesian product of the ones of
the
summands, using their :meth:`.one_basis` methods.
This implementation does not require multiplication by
scalars nor calling cartesian_product. This might help
keeping
things as lazy as possible upon initialization.
...
}}}
Could this simply be a misspelling? Note that it is written
{{{
:meth:`.one_basis`
}}}
but should certainly be
{{{
:meth:`one_basis`
}}}
If that's the case for the other warnings as well, then my patch would
just uncover mistakes that happened earlier.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9107#comment:13>
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.