#14748: Deal with DeprecationWarning(s) that appear when using the BoundClass
----------------------------------+-----------------------------------------
       Reporter:  strogdon        |         Owner:  jason           
           Type:  defect          |        Status:  needs_review    
       Priority:  major           |     Milestone:  sage-5.11       
      Component:  misc            |    Resolution:                  
       Keywords:                  |   Work issues:                  
Report Upstream:  N/A             |     Reviewers:  Travis Scrimshaw
        Authors:  Steven Trogdon  |     Merged in:                  
   Dependencies:                  |      Stopgaps:                  
----------------------------------+-----------------------------------------
Changes (by tscrim):

  * work_issues:  add regression doctest =>


Comment:

 Hey Steven,

 Could you please format the doctests in the following format:
 {{{
     Make sure classes which inherit from functools.partial have the
 correct syntax, see
     :trac:`14136` and :trac:`14748`::

         sage: import warnings
         sage: warnings.simplefilter('error', DeprecationWarning)
         sage: import functools
         sage: def f(x, y): return x^y
         sage: g = functools.partial(f, 2, 3)
         sage: g()
         8
 }}}
 In particular, there are 2 colons at the end of the text line and a
 blankline immediately following it. Also for the line above, I autolinked
 to the trac tickets which uses the syntax {{{:trac:`12345`}}}. Could you
 fix these?

 Thanks,[[BR]]
 Travis

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14748#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to