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

Comment(by PolyBoRi):

 Hi!
 I did not try it.
 But I am pleased about the refactorizations of the function interface:
 append_... returns leftv.
 Regarding the passing of the attributes:
 I had something like that in mind. This is exactly, what is needed.

 Regarding the option handling. Maybe we should use Pythons with statement:
 {{{
 with new_options:
     ...
 }}}

 Here an example from PolyBoRi with rings instead of options
 {{{
 ...
 def __enter__(self):
        old_ring=Ring()
        class ContextGuard(object):
            def __exit__(self, type, value, traceback):
                old_ring.set()
                return False
        return ContextGuard()

 }}}

 But this would affect the whole interface of the option class (not
 immediately setting options in singular...)
 So, this is just a naive thought...

 Cheers,
 Michael

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