#1210: [with patch, needs work] Cannot create distinct polynomial rings over
p-adic rings with different print_modes
--------------------------------------------------------+-------------------
 Reporter:  ncalexan                                    |        Owner:  roed   
   
     Type:  defect                                      |       Status:  new    
   
 Priority:  major                                       |    Milestone:  
sage-3.4.1
Component:  commutative algebra                         |   Resolution:         
   
 Keywords:  polynomial p-adic print mode cache caching  |  
--------------------------------------------------------+-------------------
Changes (by ncalexan):

  * summary:  [with patch, needs review] Cannot create distinct polynomial
              rings over p-adic rings with different
              print_modes => [with patch, needs work] Cannot
              create distinct polynomial rings over p-adic
              rings with different print_modes

Comment:

 I have lots of doctest failures... wrong versions?  The argument
 "print_pos" does not appear anywhere in my sage/rings/padics directory,
 btw.

 {{{
 ----------------------------------------------------------------------
 | Sage Version 3.3.alpha0, Release Date: 2009-01-19                  |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 Loading Sage library. Current Mercurial branch is: nca
 sage: import sage_emacs as emacs
 sage: R = Qp(7, print_mode='digits', print_pos=True)
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 
/home/ncalexan/.sage/temp/sage.math.washington.edu/16970/_home_ncalexan__sage_init_sage_0.py
 in <module>()
 ----> 1
       2
       3
       4
       5

 /scratch/nca/sage-3.3.alpha1-sage.math-
 only-x86_64-Linux/local/lib/python2.5/site-
 packages/sage/structure/factory.so in
 sage.structure.factory.UniqueFactory.__call__
 (sage/structure/factory.c:579)()
     106
     107
 --> 108
     109
     110

 /scratch/nca/sage-3.3.alpha1-sage.math-
 only-x86_64-Linux/local/lib/python2.5/site-
 packages/sage/structure/factory.so in
 sage.structure.factory.UniqueFactory.create_key_and_extra_args
 (sage/structure/factory.c:1373)()
     193
     194
 --> 195
     196
     197

 TypeError: create_key() got an unexpected keyword argument 'print_pos'
 sage: S = Qp(7, print_mode='digits', print_pos=False)
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 
/home/ncalexan/.sage/temp/sage.math.washington.edu/16970/_home_ncalexan__sage_init_sage_0.py
 in <module>()
 ----> 1
       2
       3
       4
       5

 /scratch/nca/sage-3.3.alpha1-sage.math-
 only-x86_64-Linux/local/lib/python2.5/site-
 packages/sage/structure/factory.so in
 sage.structure.factory.UniqueFactory.__call__
 (sage/structure/factory.c:579)()
     106
     107
 --> 108
     109
     110

 /scratch/nca/sage-3.3.alpha1-sage.math-
 only-x86_64-Linux/local/lib/python2.5/site-
 packages/sage/structure/factory.so in
 sage.structure.factory.UniqueFactory.create_key_and_extra_args
 (sage/structure/factory.c:1373)()
     193
     194
 --> 195
     196
     197

 TypeError: create_key() got an unexpected keyword argument 'print_pos'
 sage:
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1210#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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