Skip to content

Commit

Permalink
Set dummy is_cpu_amd_intel=False for PyTables non-breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
robbmcleod committed Apr 27, 2018
1 parent 035cf13 commit b6138a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions numexpr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
else:
use_vml = False

is_cpu_amd_intel = False # DEPRECATION WARNING: WILL BE REMOVED IN FUTURE RELEASE

# cpuinfo imports were moved into the test submodule function that calls them
# to improve import times.

Expand Down
1 change: 1 addition & 0 deletions numexpr/cpuinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import platform
import inspect

is_cpu_amd_intel = False # DEPRECATION WARNING: WILL BE REMOVED IN FUTURE RELEASE

def getoutput(cmd, successful_status=(0,), stacklevel=1):
try:
Expand Down
2 changes: 1 addition & 1 deletion numexpr/necompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import numpy
import threading

# from numexpr import interpreter, expressions, use_vml, is_cpu_amd_intel
is_cpu_amd_intel = False # DEPRECATION WARNING: WILL BE REMOVED IN FUTURE RELEASE
from numexpr import interpreter, expressions, use_vml
from numexpr.utils import CacheDict

Expand Down

0 comments on commit b6138a0

Please sign in to comment.