#11244: In python-2.7 deprecation warnings are not shown to the user by default
----------------------------------------------------------+-----------------
   Reporter:  fbissey                                     |          Owner:  
jason          
       Type:  defect                                      |         Status:  
needs_review   
   Priority:  major                                       |      Milestone:  
sage-4.7.1     
  Component:  misc                                        |       Keywords:     
            
Work_issues:  fix warnings in sage/combinat/partition.py  |       Upstream:  
N/A            
   Reviewer:                                              |         Author:  
François Bissey
     Merged:                                              |   Dependencies:     
            
----------------------------------------------------------+-----------------
Changes (by fbissey):

  * status:  needs_work => needs_review


Old description:

> In python 2.7 deprecation warnings are a developer only feature. Which
> mean that sage's deprecation warnings are not shown either. A previous
> patch in #9958 only re-enable deprecation warnings in doctests but not in
> regular sage sessions. Note that warnings issued by sage are also
> ignored. This ticket is mainly interested in deprecation warnings, pure
> warnings it appears are not tested at all in sage which will make them
> difficult to track.
>
> Apply:
>  * [attachment:trac_11244_reenable_deprecationwarnings_in_python27.patch]

New description:

 In python 2.7 deprecation warnings are a developer only feature. Which
 mean that sage's deprecation warnings are not shown either. A previous
 patch in #9958 only re-enable deprecation warnings in doctests but not in
 regular sage sessions. Note that warnings issued by sage are also ignored.
 This ticket is mainly interested in deprecation warnings, pure warnings it
 appears are not tested at all in sage which will make them difficult to
 track.

 Apply:
  * [attachment:trac_11244_reenable_deprecationwarnings_in_python27.patch]
  * [attachment:trac_11244_fix_combinatpartition_warnings.patch]

--

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