New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix tab-completion for methods injected by MorphismMethods #29776
Comments
Branch: u/gh-mwageringel/29776 |
Author: Markus Wageringel |
Commit: |
New commits:
|
comment:2
Does the affect the method lookup time (the time it takes to call the methods) when the code is being run? For example, does it make something like |
comment:3
Method lookup does not actually call
|
Reviewer: Travis Scrimshaw |
comment:4
Thanks. I couldn't find any information if that was used during method lookup (cf. |
Changed branch from u/gh-mwageringel/29776 to |
For Cython classes that implement morphisms, the methods from
MorphismMethods
of the respective category are magically attached to elements of the class. However, tab-completion does not work on them.For example,
sage.categories.rings
defines the morphism methodsextend_to_fraction_field
andis_injective
:This is fixed by improving the corresponding
__dir__
method.Component: categories
Author: Markus Wageringel
Branch/Commit:
23cf6e7
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/29776
The text was updated successfully, but these errors were encountered: