#7939: shorten doctests in sage/rings/multi_polynomial_ideal.py
-------------------------------+--------------------------------------------
   Reporter:  rlm              |       Owner:  tbd       
       Type:  defect           |      Status:  needs_info
   Priority:  major            |   Milestone:  sage-4.3.2
  Component:  interfaces       |    Keywords:            
     Author:  Martin Albrecht  |    Upstream:  N/A       
   Reviewer:                   |      Merged:            
Work_issues:                   |  
-------------------------------+--------------------------------------------

Comment(by malb):

 Replying to [comment:10 PolyBoRi]:
 > Regarding the passing of the attributes:
 > I had something like that in mind. This is exactly, what is needed.

 Actually, the interface should be: {{{ {obj:{'isSB':1}} }}} because right
 now we don't support e.g. "rank" which takes an integer. I should probably
 change that before this patch goes in.

 > Regarding the option handling. Maybe we should use Pythons with
 statement:
 > {{{
 > with new_options:
 >     ...
 > }}}
 > But this would affect the whole interface of the option class (not
 immediately setting options in singular...)

 We do that for the {{{redSB}}} context, so you can enforce reduced GBs
 within a context. So an example session could be?

 {{{
 sage: opt = sage.libs.options.libsingular_options()
 sage: opt['redTail'] = True
 sage: with opt:
 ...     blah?
 }}}

 Mhh, does Cython support this yet?

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