id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
11298,Extend the capabilities of Sage's introspection,SimonKing,jason,"The following used to fail:
{{{
sage: x??
Error getting source: could not find class definition
sage: P. = 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
Apply
- [attachment:trac11298_introspection_and_edit.patch]
- [attachment:trac11298_singular_standard_options.rebase4.7.1.a1.patch]
- [attachment:trac_11298-ref.patch]",defect,needs_review,major,sage-4.7.1,misc,,edit sageinspect,jsrn nthiery saliola,,Simon King,John Palmieri,N/A,,,,#9976,