#12543: import_statementss combined with search_def
-----------------------------+----------------------------------------------
   Reporter:  aschilling     |          Owner:  sage-combinat 
       Type:  enhancement    |         Status:  new           
   Priority:  major          |      Milestone:  sage-5.0      
  Component:  combinatorics  |       Keywords:                
Work_issues:                 |       Upstream:  N/A           
   Reviewer:                 |         Author:  Nicolas Thiery
     Merged:                 |   Dependencies:                
-----------------------------+----------------------------------------------
 Currently, import_statements yields a name error if the class is not yet
 imported. For example

 {{{
    sage: import_statements(ClonableIntArray)
    NameError: name 'ClonableIntArray' is not defined
 }}}

 It would be desirable to have import_statements run a search_def in case
 the object is not imported by default in the interpreter. This would
 require passing the name of the object as:

 {{{
     sage: import_statements("ClonableIntArray")
 }}}

 It also would probably require extending search_def to also look up
 classes and not only functions.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12543>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to