hylang-hycc icon indicating copy to clipboard operation
hylang-hycc copied to clipboard

`getattr` fails for sub modules includes extension modules

Open koji-kojiro opened this issue 7 years ago • 0 comments

e.g.) scipy.fftpack, matplotlib.pyplot and more...

from scipy import fftpack # OK!

import scipy as _
fftpack = getattr(scipy, 'fftpack') # AttributeError...

koji-kojiro avatar Jun 12 '17 17:06 koji-kojiro