summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2016-10-19 15:57:35 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2016-10-19 16:49:17 +0200
commit6b49167c3134e695efb1a122f73c3524a9049db5 (patch)
treec0fea9872674f477d17b727e8b8b8c0444a7dcd3 /numpy/core/setup_common.py
parent0a02bb6f62a5c09103cf748bafe7a622f3dfe98b (diff)
downloadnumpy-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