diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2016-10-19 15:57:35 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2016-10-19 16:49:17 +0200 |
commit | 6b49167c3134e695efb1a122f73c3524a9049db5 (patch) | |
tree | c0fea9872674f477d17b727e8b8b8c0444a7dcd3 /numpy/core/setup_common.py | |
parent | 0a02bb6f62a5c09103cf748bafe7a622f3dfe98b (diff) | |
download | numpy-6b49167c3134e695efb1a122f73c3524a9049db5.tar.gz |
MAINT: Add python 3.6 support to suppress_warnings
Python 3.6 has two methods for showing warnings, so we have to support
both ways (strictly speaking, on python 3.6 itself only the new would
probably be needed).
Also adds the _filters_mutated() call to replace manual registry
clearing. This is basically the fix that newer python versions have
to avoid the issue making the manual clearing unnecessary.
Closes gh-8176
Diffstat (limited to 'numpy/core/setup_common.py')
0 files changed, 0 insertions, 0 deletions