Make 'from a import b' throw ImportErrors
Before was throwing AttributeError, since we were just translating it to: import a b = a.b Now there's a special importFrom runtime function that does essentially the same thing, but throws the proper exception.
Showing
Please register or sign in to comment