#14275: Lazy imports with deprecation
---------------------------+------------------------------------------------
   Reporter:  roed         |             Owner:  jason    
       Type:  enhancement  |            Status:  new      
   Priority:  major        |         Milestone:  sage-5.9 
  Component:  misc         |          Keywords:           
Work issues:               |   Report Upstream:  N/A      
  Reviewers:               |           Authors:  David Roe
  Merged in:               |      Dependencies:           
   Stopgaps:               |  
---------------------------+------------------------------------------------
 It's annoying when other people move something around in the Sage library
 and it's no longer available in the previous location to be imported.
 Sage currently has some mechanisms for alleviating this problem
 (`sage.misc.superceded.deprecated_callable_import` and
 `sage.structure.sage_object.register_unpickle_override` for example).
 This ticket adds another option: lazily import the old name so that a
 deprecation warning is issued whenever it is referred to.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14275>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to