Fixed #21443 -- Cannot show debug info on PY3's importlib

See [ticket 21443](https://code.djangoproject.com/ticket/21443).