[issue18598] Importlib, more verbosity please

2013-08-12 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18598] Importlib, more verbosity please

2013-08-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2294594fbe6c by Brett Cannon in branch 'default': Closes issue #18598: Have the exception message for http://hg.python.org/cpython/rev/2294594fbe6c -- nosy: +python-dev ___ Python tracker

[issue18598] Importlib, more verbosity please

2013-07-30 Thread Brett Cannon
Brett Cannon added the comment: Sorry, I can't backport this change as it's not a bugfix but an enhancement and it could break someone's code who relies on the specific format of the exception message. -- ___ Python tracker

[issue18598] Importlib, more verbosity please

2013-07-30 Thread Lukáš Němec
Lukáš Němec added the comment: Also, please do not forget on backports for python 2.6+ :) -- ___ Python tracker ___ ___ Python-bugs-li

[issue18598] Importlib, more verbosity please

2013-07-30 Thread Lukáš Němec
Lukáš Němec added the comment: Yes, absolutely, that is what was I needed to debug it easily, the name parameter Thank you :) -- ___ Python tracker ___

[issue18598] Importlib, more verbosity please

2013-07-30 Thread Brett Cannon
Brett Cannon added the comment: It could be changed to something like "the 'package' argument is required to perform a relative import for {!r}".format(name) . Would that have made it more clear? -- assignee: -> brett.cannon nosy: +brett.cannon priority: normal -> low stage: -> needs

[issue18598] Importlib, more verbosity please

2013-07-30 Thread Lukáš Němec
New submission from Lukáš Němec: Hello, recently I filed this bugreport to Django, but they clarified this by pointing me to commits for new version of Django that uses python builtin importlib (import_module) But since most of their import_module code is done like [import_module(x) for y if