#20206: Deprecation warnings print lots of warnings
------------------------------+----------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: new
Priority: critical | Milestone: sage-7.1
Component: user interface | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
------------------------------+----------------------------
A simple deprecation warning prints a lot of stuff in the Sage command
line:
{{{
┌────────────────────────────────────────────────────────────────────┐
│ SageMath Version 7.1.rc0, Release Date: 2016-03-10 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: x(1)
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/interactiveshell.py:2885: DeprecationWarning:
Substitution using function-call syntax and unnamed arguments is
deprecated and will be removed from a future release of Sage; you can use
named arguments instead, like EXPR(x=..., y=...)
See http://trac.sagemath.org/5930 for details.
exec(code_obj, self.user_global_ns, self.user_ns)
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/formatters.py:92: DeprecationWarning:
DisplayFormatter._ipython_display_formatter_default is deprecated: use
@default decorator instead.
def _ipython_display_formatter_default(self):
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/formatters.py:98: DeprecationWarning:
DisplayFormatter._formatters_default is deprecated: use @default decorator
instead.
def _formatters_default(self):
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/formatters.py:677: DeprecationWarning:
PlainTextFormatter._deferred_printers_default is deprecated: use @default
decorator instead.
def _deferred_printers_default(self):
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/formatters.py:669: DeprecationWarning:
PlainTextFormatter._singleton_printers_default is deprecated: use @default
decorator instead.
def _singleton_printers_default(self):
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/formatters.py:672: DeprecationWarning:
PlainTextFormatter._type_printers_default is deprecated: use @default
decorator instead.
def _type_printers_default(self):
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/formatters.py:669: DeprecationWarning:
PlainTextFormatter._singleton_printers_default is deprecated: use @default
decorator instead.
def _singleton_printers_default(self):
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/formatters.py:672: DeprecationWarning:
PlainTextFormatter._type_printers_default is deprecated: use @default
decorator instead.
def _type_printers_default(self):
/usr/local/src/sage-git/local/lib/python2.7/site-
packages/IPython/core/formatters.py:677: DeprecationWarning:
PlainTextFormatter._deferred_printers_default is deprecated: use @default
decorator instead.
def _deferred_printers_default(self):
1
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20206>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.