Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium Milestone-Release0.7.1

New issue 2142 by asmeurer: Turn on deprecation warnings in isympy
http://code.google.com/p/sympy/issues/detail?id=2142

Python 2.7 ignores DeprecationWarning by default (see http://docs.python.org/library/warnings.html#warning-categories). The idea I think is that users don't want to be bombarded with deprecation warnings just because they are using a module or script where someone is using something deprecated.

But I think we want to have it on in isympy so that people see it when they use deprecated sympy functionality. The solution is in the -W flag to Python (see http://docs.python.org/library/warnings.html#the-warnings-filter). Also, maybe we should create a SymPyDeprecationWarning and only turn those on.

And we should probably run the tests will all warnings turned on and turned into exceptions so that we avoid using warned behavior in the tests.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en.

Reply via email to