Opened 11 years ago

Last modified 11 years ago

#11298 closed defect

Extend the capabilities of Sage's introspection — at Initial Version

Reported by: SimonKing Owned by: jason
Priority: major Milestone: sage-4.7.2
Component: misc Keywords: edit sageinspect
Cc: jsrn, nthiery, saliola Merged in:
Authors: Simon King Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

The following used to fail:

sage: x??
Error getting source: could not find class definition
sage: P.<x,y> = QQ[]
sage: P??
Error getting source: could not find class definition
sage: I??
Error getting source: could not find class definition

Similarly, the edit command did not work in these case.

With my patch, all that works. Moreover, both sage.misc.edit_module and sage.misc.sageinspect are put into the reference manual.

Note that this may be related with #11287: sage.misc.sage_getfile and sage_getsourcelines could be a reliable tool to get information on how and from where to import a given object. Therefore Cc to the participants of that ticket.

Moreover, Cc to #9976. Reason:

Depends on #9976

Change History (0)

Note: See TracTickets for help on using tickets.