Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator '<<' is deprecated, use '<<=' instead #2405

Closed
torquil opened this issue Sep 10, 2013 · 1 comment
Closed

Operator '<<' is deprecated, use '<<=' instead #2405

torquil opened this issue Sep 10, 2013 · 1 comment

Comments

@torquil
Copy link

torquil commented Sep 10, 2013

I get the following warnings when using Matplotlib 1.3.0:

/mn/anatu/cma-u3/tmac/usr/lib64/python2.6/site-packages/matplotlib-1.3.0-py2.6-linux-x86_64.egg/matplotlib/mathtext.py:2182: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
float_literal << Regex(r"[-+]?([0-9]+.?[0-9]*|.[0-9]+)")
/mn/anatu/cma-u3/tmac/usr/lib64/python2.6/site-packages/matplotlib-1.3.0-py2.6-linux-x86_64.egg/matplotlib/mathtext.py:2183: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
int_literal << Regex("[-+]?[0-9]+")
/mn/anatu/cma-u3/tmac/usr/lib64/python2.6/site-packages/matplotlib-1.3.0-py2.6-linux-x86_64.egg/matplotlib/mathtext.py:2185: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
lbrace << Literal('{').suppress()
/mn/anatu/cma-u3/tmac/usr/lib64/python2.6/site-packages/matplotlib-1.3.0-py2.6-linux-x86_64.egg/matplotlib/mathtext.py:2186: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
rbrace << Literal('}').suppress()
/mn/anatu/cma-u3/tmac/usr/lib64/python2.6/site-packages/matplotlib-1.3.0-py2.6-linux-x86_64.egg/matplotlib/mathtext.py:2187: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
lbracket << Literal('[').suppress()
/mn/anatu/cma-u3/tmac/usr/lib64/python2.6/site-packages/matplotlib-1.3.0-py2.6-linux-x86_64.egg/matplotlib/mathtext.py:2188: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
rbracket << Literal(']').suppress()
/mn/anatu/cma-u3/tmac/usr/lib64/python2.6/site-packages/matplotlib-1.3.0-py2.6-linux-x86_64.egg/matplotlib/mathtext.py:2189: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
bslash << Literal('')
.
.
.
(the rest are omitted). They are all in mathtext.py

@mdboom
Copy link
Member

mdboom commented Sep 10, 2013

This has already been fixed in a8d5f96 (and subsequent fixes for even greater compatibility). It will make it into the next bugfix release (1.3.1).

@mdboom mdboom closed this as completed Sep 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants