hylang-hycc
hylang-hycc copied to clipboard
`getattr` fails for sub modules includes extension modules
e.g.) scipy.fftpack, matplotlib.pyplot and more...
from scipy import fftpack # OK!
import scipy as _
fftpack = getattr(scipy, 'fftpack') # AttributeError...