﻿id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 20771 importlib: more verbosity please lu.nemec@… nobody "Hello, I recently debugged some code where relative imports were used Importlib threw an error ""relative imports require the 'package' argument"" But, it would be really handy to have it also write what is it trying to import... So I edited the file locally to this: importlib.py {{{ #27 if not package: #28 raise TypeError(""relative imports require the 'package' argument, package: %s"" % name) }}} And I found the place where I forgot to look in seconds.... Cheers! " Cleanup/optimization closed Utilities 1.5 Normal wontfix Accepted 0 0 0 0 1 0