#8327: Implement the universal cyclotomic field, using Zumbroich basis
-----------------------------------------------------+----------------------
       Reporter:  nthiery                            |         Owner:           
   
           Type:  enhancement                        |        Status:  
needs_review
       Priority:  major                              |     Milestone:  sage-5.6 
   
      Component:  number fields                      |    Resolution:           
   
       Keywords:  Cyclotomic field, Zumbroich basis  |   Work issues:           
   
Report Upstream:  N/A                                |     Reviewers:           
   
        Authors:  Christian Stump, Simon King        |     Merged in:           
   
   Dependencies:  #13765, #13826                     |      Stopgaps:           
   
-----------------------------------------------------+----------------------

Comment (by nbruin):

 Replying to [comment:182 stumpc5]:
 > Numpy is imported in the cython file for the UCF, and seems to be
 imported on startup when doing
 >
 > {{{
 > lazy_import("sage.rings.universal_cyclotomic_field.all","*")
 > }}}
 >
 > but not when doing
 >
 > {{{
 >
 
lazy_import("sage.rings.universal_cyclotomic_field.universal_cyclotomic_field","UniversalCyclotomicField")
 > }}}

 Have you taken into account that the first time running, lazy star imports
 are not lazy at all? It executes the actual import to cache which symbols
 get defined by the star import (the files in `.sage/cache`). I think this
 cache presently always gets deleted after `sage -b`. If testing
 `startup.py` is the first sage run after that, you cannot expect lazy
 behaviour.

 This caching strategy has its flaws, but presently we'll have to live with
 it.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8327#comment:183>
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