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
improve introspection of Macaulay2 interface #28565
Milestone
Comments
New commits:
|
Commit: |
Branch: u/gh-mwageringel/28565 |
Author: Markus Wageringel |
Changed keywords from macaulay2 to macaulay2, IMA Coding Sprint |
Changed branch from u/gh-mwageringel/28565 to public/interfaces/m2/28565 |
New commits:
|
Reviewer: Franco Saliola |
Changed branch from public/interfaces/m2/28565 to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This ticket improves the introspection for the Macaulay2 interface:
•
help
is now called with a Macaulay2 string instead of a symbol, as this works in more generality, for example for global variables:• The class
Macaulay2FunctionElement
of functions with applied first argument is implemented. This allows to make the help and source code more specific by taking into account the first argument. For example the following only shows the relevant output forIdeal
, but not forMatrix
orModule
.The
__getattr__
ofMacaulay2
is removed as it is not needed anymore since_function_class
is implemented.• The
_sage_src_
ofMacaulay2Function
is simplified. This also fixes an issue where all the lines are shown with a special end character^M
when inspecting Macaulay2 source code as in:• The
nodetex
andnoreplace
directives for Sage documentation are added to avoid reformatting of the Macaulay2 documentation. Previously one would getinstead of
CC: @saliola @dimpase @antonleykin
Component: interfaces: optional
Keywords: macaulay2, IMA Coding Sprint
Author: Markus Wageringel
Branch/Commit:
4ae76ef
Reviewer: Franco Saliola
Issue created by migration from https://trac.sagemath.org/ticket/28565
The text was updated successfully, but these errors were encountered: