-
-
Notifications
You must be signed in to change notification settings - Fork 674
Description
For consistency with other interfaces, the method to_sage()
for converting Macaulay2Element
s to Sage should be deprecated and replaced by sage()
. More precisely, the method _sage_()
inherited from a super class should be implemented.
Similarly, the Sage method structure_sheaf()
should be deprecated in favor of the Macaulay2 function sheaf()
which provides the same functionality. Since structure_sheaf()
is implemented for any Macaulay2Element
, even for elements that do not support it, it unnecessarily pollutes the tab completion menu. In contrast, sheaf()
only appears in the completion menu if an element supports it.
Component: interfaces
Keywords: macaulay2, deprecation
Author: Markus Wageringel
Branch/Commit: e0ead46
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/27848