#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:
----------------------------------------------------------+-----------------
Description changed by fbissey:
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.
>
> Apply:
> * [attachment:trac_11244_reenable_deprecationwarnings_in_python27.patch]
> * [attachment:trac_11244_fix_combinatpartition_warnings.patch]
> * [attachment:trac_11244_fixmoredeprecationswarnings.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.
Apply:
* [attachment:trac_11244_reenable_deprecationwarnings_in_python27.patch]
* [attachment:trac_11244_fix_combinatpartition_warnings.patch]
* [attachment:trac_11244_fixmoredeprecationswarnings.2.patch]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11244#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.