• Kevin Modzelewski's avatar
    Make 'from a import b' throw ImportErrors · 58e151e5
    Kevin Modzelewski authored
    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.
    58e151e5
import_failure_test.py 321 Bytes