#9894: Group cohomology spkg, version 2.1
----------------------------------------------------------------------------+
   Reporter:  SimonKing                                                     |   
    Owner:  tbd                                
       Type:  enhancement                                                   |   
   Status:  needs_review                       
   Priority:  major                                                         |   
Milestone:  sage-4.6                           
  Component:  optional packages                                             |   
 Keywords:  modular group cohomology solaris t2
     Author:  Simon King                                                    |   
 Upstream:  N/A                                
   Reviewer:                                                                |   
   Merged:                                     
Work_issues:  Is the code independent of the computer's newline character?  |  
----------------------------------------------------------------------------+

Comment(by SimonKing):

 Hi!

 Replying to [comment:19 kcrisman]:
 >   > ...
 >   > Determining decomposable subspace
 >   > Extracting decomposable cocycles and relations

 Yep. That confirms my conjecture. Right after that line of protocol, there
 is a line containing a {{{split}}} statement, and IIRC it originally was
 {{{
 SelfValues = singular.eval('print(%s)'%DG.name()).split(',\n')
 }}}

 In the current version, it is
 {{{
 SelfValues = [t.strip() for t in
 singular.eval('print(%s)'%DG.name()).split(',')]
 }}}
 instead.

 Could you test the following, please:
 {{{
 sage: R = singular.ring(0,'(x,y)','dp')
 sage: I = singular.maxideal(3)
 sage: singular.eval('print(%s)'%I.name()).split(',\n')
 ['y^3', 'x*y^2', 'x^2*y', 'x^3']
 sage: [t.strip() for t in singular.eval('print(%s)'%I.name()).split(',')]
 ['y^3', 'x*y^2', 'x^2*y', 'x^3']
 }}}
 I reckon that on your computer the two lists are different.

 Cheers,

 Simon

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