#9138: Categories for all rings
---------------------------------+------------------------------------------
   Reporter:  jbandlow           |          Owner:  nthiery                     
                  
       Type:  defect             |         Status:  needs_work                  
                  
   Priority:  major              |      Milestone:  sage-4.7.1                  
                  
  Component:  categories         |       Keywords:  introspection, categories 
for rings           
Work_issues:  Steenrod algebras  |       Upstream:  N/A                         
                  
   Reviewer:                     |         Author:  Simon King                  
                  
     Merged:                     |   Dependencies:  sage-4.7, #11268, #11139, 
#9976, #9944, #11269
---------------------------------+------------------------------------------
Changes (by SimonKing):

  * status:  needs_review => needs_work
  * work_issues:  => Steenrod algebras


Comment:

 It seems that there is a problem with doctests for the Steenrod algebra.
 When I apply the patch on top of sage-4.7.1.rc1, I obtain
 {{{
     sage: SteenrodAlgebra(2)['x'].category()
 Exception raised:
     Traceback (most recent call last):
       File "/mnt/local/king/SAGE/sage-4.7.1.rc1/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/mnt/local/king/SAGE/sage-4.7.1.rc1/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/mnt/local/king/SAGE/sage-4.7.1.rc1/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_1[12]>", line 1, in <module>
         SteenrodAlgebra(Integer(2))['x'].category()###line 114:
     sage: SteenrodAlgebra(2)['x'].category()
       File "/mnt/local/king/SAGE/sage-4.7.1.rc1/local/lib/python/site-
 packages/sage/algebras/steenrod/steenrod_algebra.py", line 1037, in
 homogeneous_component
         basis = self._basis_fcn(n)
       File "cachefunc.pyx", line 531, in
 sage.misc.cachefunc.CachedFunction.__call__ (sage/misc/cachefunc.c:2227)
       File "/mnt/local/king/SAGE/sage-4.7.1.rc1/local/lib/python/site-
 packages/sage/algebras/steenrod/steenrod_algebra_bases.py", line 368, in
 steenrod_algebra_basis_
         if n < 0 or int(n) != n:
     ValueError: invalid literal for int() with base 10: 'x'
 }}}

 So, back to the drawing board...

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