[issue25280] Message can be formatted twice in importlib

2015-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Brett for your review. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue25280] Message can be formatted twice in importlib

2015-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset da42b38f7470 by Serhiy Storchaka in branch '3.4': Issue #25280: Import trace messages emitted in verbose (-v) mode are no https://hg.python.org/cpython/rev/da42b38f7470 New changeset 10c13441bf8d by Serhiy Storchaka in branch '3.5': Issue #25280: Im

[issue25280] Message can be formatted twice in importlib

2015-09-30 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In importlib a verbose message can be formatted twice, the first time before passing it to _verbose_message(), and the second time in _verbose_message(), Example: $ python -v ... >>> open('{0}.pyc', 'wb').close() >>> __import__('{0}') Traceback (most recen