#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 stumpc5):

 Replying to [comment:181 vbraun]:
 > What is your problem, precisely?

 When I do the lazy import of
 {{{sage.rings.universal_cyclotomic_field.all.*}}} in {{{sage.rings.all}}}
 (as in the current version of the patch on trac), I get

 {{{
 $ sage -t sage/tests/startup.py
 sage -t  "devel/sage-UCF/sage/tests/startup.py"
 **********************************************************************
 File "/home/stumpc5/progs/sage-5.5.rc0/devel/sage-
 UCF/sage/tests/startup.py", line 17:
     sage: sage0("'numpy' in sys.modules")
 Expected:
     False
 Got:
     True
 **********************************************************************
 }}}

 and this test doesn't fail if I do the lazy import of
 {{{UniversalCyclotomicField}}} within
 {{{sage.rings.universal_cyclotomic_field.all}}}. 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")
 }}}
 Do you know what goes wrong there?

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