You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my ipython console after typing %load_ext autoreload %autoreload 2
and after import of my module I get
/Users/ben/.virtualenvs/finance/lib/python2.7/site- packages/IPython/extensions/autoreload.py:366:
DeprecationWarning: The compiler package is deprecated and removed in Python 3.x.
module = reload(module)
/Users/ben/.virtualenvs/finance/lib/python2.7/site-packages/IPython/extensions/autoreload.py:366: DeprecationWarning: the sets module is deprecated
module = reload(module)`
How can I turn this off? Thanks for your help!
The text was updated successfully, but these errors were encountered:
I can't reproduce that using a module that imports compiler and sets. Deprecation warnings are usually silenced on Python 2.7 - could you have something (environment variable, custom warnings filter, etc.) that turns them on?
If you set PYTHONWARNINGS=always, you will see every deprecation warning.
If you set PYTHONWARNINGS=default, to restore the default behavior, the deprecation warnings should be ignored unless some code is changing the warnings filter at runtime.
The deprecated modules are not imported in master, so I think we can call this 'fixed for 2.0'
In my ipython console after typing
%load_ext autoreload %autoreload 2
and after import of my module I get
How can I turn this off? Thanks for your help!
The text was updated successfully, but these errors were encountered: